Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002245/0.002245, allocations: 194.3 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.736/2.736, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 63.89 kB / 1.109 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9402/0.9422, allocations: 168.7 MB / 1.274 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.00845/0.9507, allocations: 5.003 MB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005051/0.9557, allocations: 2.522 MB / 1.281 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004179/0.9562, allocations: 23.81 kB / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00126/0.9574, allocations: 419.3 kB / 1.282 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001091/0.9585, allocations: 465.7 kB / 1.282 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009274/0.9594, allocations: 379 kB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00113/0.9606, allocations: 0.9173 MB / 1.284 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004558/0.961, allocations: 265.2 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000453/0.9615, allocations: 342.6 kB / 1.284 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005147/0.962, allocations: 370.4 kB / 1.284 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.523e-05/0.9621, allocations: 40 kB / 1.284 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007438/0.9628, allocations: 415 kB / 1.285 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000216/0.963, allocations: 191.3 kB / 1.285 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003256/0.9634, allocations: 318.2 kB / 1.285 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.9645, allocations: 0.887 MB / 1.286 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.9645, allocations: 0 / 1.286 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9645, allocations: 0 / 1.286 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.9645, allocations: 0 / 1.286 GB, free: 8.027 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001581/0.9661, allocations: 0.9533 MB / 1.287 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.9661, allocations: 8.031 kB / 1.287 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001292/0.9674, allocations: 212.2 kB / 1.287 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008997/0.9683, allocations: 0.5378 MB / 1.288 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.9683, allocations: 33.38 kB / 1.288 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.393e-05/0.9684, allocations: 48.36 kB / 1.288 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.9696, allocations: 0.8486 MB / 1.289 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.9696, allocations: 7.938 kB / 1.289 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.235e-05/0.9697, allocations: 23.98 kB / 1.289 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.954e-05/0.9698, allocations: 64.89 kB / 1.289 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000863/0.9707, allocations: 0.5695 MB / 1.289 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00546/0.9761, allocations: 5.651 MB / 1.295 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006632/0.9768, allocations: 412.4 kB / 1.295 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003159/0.9771, allocations: 217.2 kB / 1.296 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.9771, allocations: 4 kB / 1.296 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.9772, allocations: 34.56 kB / 1.296 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=32): time 2.204e-06/0.9772, allocations: 0 / 1.296 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002859/0.98, allocations: 1.517 MB / 1.297 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.9801, allocations: 55.69 kB / 1.297 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005835/0.9807, allocations: 499 kB / 1.298 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.654e-05/0.9807, allocations: 37.7 kB / 1.298 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000295/0.981, allocations: 359.8 kB / 1.298 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.9811, allocations: 123 kB / 1.298 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.9813, allocations: 110.2 kB / 1.298 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002104/0.9815, allocations: 362.8 kB / 1.299 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003079/0.9818, allocations: 197.2 kB / 1.299 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005411/0.9823, allocations: 455.2 kB / 1.299 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009315/0.9833, allocations: 0.6879 MB / 1.3 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.9833, allocations: 4 kB / 1.3 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001344/0.9846, allocations: 0.8138 MB / 1.301 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.9846, allocations: 9.719 kB / 1.301 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.9847, allocations: 12 kB / 1.301 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005076/0.9852, allocations: 156.4 kB / 1.301 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004608/0.9856, allocations: 119.8 kB / 1.301 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003972/0.9896, allocations: 4.344 MB / 1.305 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004343/0.99, allocations: 39.97 kB / 1.305 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-05/0.9901, allocations: 31.98 kB / 1.305 GB, free: 3.062 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000308/0.9904, allocations: 209.7 kB / 1.305 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.9905, allocations: 63.58 kB / 1.306 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.9916, allocations: 0.6006 MB / 1.306 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.9916, allocations: 4 kB / 1.306 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.9916, allocations: 8 kB / 1.306 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.9916, allocations: 0 / 1.306 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/0.9936, allocations: 1.255 MB / 1.307 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.9936, allocations: 4 kB / 1.307 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.9938, allocations: 51.89 kB / 1.307 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004236/0.9943, allocations: 140.4 kB / 1.308 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.637e-05/0.9943, allocations: 15.94 kB / 1.308 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003859/0.9981, allocations: 4.332 MB / 1.312 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.9982, allocations: 4.031 kB / 1.312 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.9993, allocations: 0.7169 MB / 1.312 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002944/0.9995, allocations: 172.7 kB / 1.313 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.417e-05/0.9996, allocations: 8 kB / 1.313 GB, free: 10.85 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.9999, allocations: 27.97 kB / 1.313 GB, free: 10.82 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.737e-05/0.9999, allocations: 31.84 kB / 1.313 GB, free: 10.79 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/1, allocations: 8 kB / 1.313 GB, free: 10.79 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004117/1, allocations: 338.8 kB / 1.313 GB, free: 10.46 MB / 1.014 GB Notification: Performance of sort global known variables: time 5e-08/1, allocations: 0 / 1.313 GB, free: 10.46 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006733/1.001, allocations: 143.9 kB / 1.313 GB, free: 10.32 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001737/1.001, allocations: 111.2 kB / 1.313 GB, free: 10.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001483/1.003, allocations: 1.004 MB / 1.314 GB, free: 9.113 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.003, allocations: 0.9375 kB / 1.314 GB, free: 9.113 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009249/1.004, allocations: 0.7306 MB / 1.315 GB, free: 8.301 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009909/1.005, allocations: 206.2 kB / 1.315 GB, free: 8.105 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/1.006, allocations: 1.061 MB / 1.316 GB, free: 6.992 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006119/1.007, allocations: 0.9058 MB / 1.317 GB, free: 6.059 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003059/1.007, allocations: 121.3 kB / 1.317 GB, free: 5.938 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.509e-05/1.007, allocations: 39.44 kB / 1.317 GB, free: 5.898 MB / 1.014 GB Notification: Performance of SimCode: time 5.71e-07/1.007, allocations: 0 / 1.317 GB, free: 5.898 MB / 1.014 GB Notification: Performance of Templates: time 0.01551/1.023, allocations: 7.929 MB / 1.325 GB, free: 14.06 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.052534483838826]