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.00181/0.00181, allocations: 110.5 kB / 17.6 MB, free: 4.703 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.002294/0.002294, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.536/1.536, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.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.751/2.751, allocations: 476.7 MB / 0.7628 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 176] 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.002571/0.002571, allocations: 67.89 kB / 1.107 GB, free: 4.602 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.171/1.174, allocations: 168.7 MB / 1.272 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005863/1.18, allocations: 5.013 MB / 1.277 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003888/1.184, allocations: 2.522 MB / 1.279 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004109/1.184, allocations: 27.16 kB / 1.279 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001163/1.185, allocations: 427 kB / 1.28 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001128/1.186, allocations: 461.5 kB / 1.28 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009194/1.187, allocations: 376.2 kB / 1.281 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001216/1.188, allocations: 0.9179 MB / 1.281 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004963/1.189, allocations: 262.1 kB / 1.282 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005572/1.19, allocations: 339 kB / 1.282 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004972/1.19, allocations: 371 kB / 1.282 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.593e-05/1.19, allocations: 36.69 kB / 1.282 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008291/1.191, allocations: 413.8 kB / 1.283 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002019/1.191, allocations: 185.7 kB / 1.283 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002894/1.191, allocations: 322.2 kB / 1.283 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001175/1.193, allocations: 0.891 MB / 1.284 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.193, allocations: 0 / 1.284 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.393e-06/1.193, allocations: 0 / 1.284 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.28e-05/1.193, allocations: 0 / 1.284 GB, free: 0.5156 MB / 0.9981 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.001468/1.194, allocations: 0.9599 MB / 1.285 GB, free: 15.79 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/1.194, allocations: 8.969 kB / 1.285 GB, free: 15.79 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001292/1.195, allocations: 201.9 kB / 1.285 GB, free: 15.75 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000927/1.196, allocations: 0.5391 MB / 1.286 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.268e-05/1.196, allocations: 31.5 kB / 1.286 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.814e-05/1.196, allocations: 53.31 kB / 1.286 GB, free: 15.35 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/1.198, allocations: 0.8446 MB / 1.287 GB, free: 14.76 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/1.198, allocations: 7.312 kB / 1.287 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.732e-05/1.198, allocations: 25.2 kB / 1.287 GB, free: 14.74 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001024/1.198, allocations: 69.61 kB / 1.287 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009191/1.199, allocations: 0.5632 MB / 1.287 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005483/1.204, allocations: 5.655 MB / 1.293 GB, free: 9.402 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007664/1.205, allocations: 422.6 kB / 1.293 GB, free: 9.246 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003554/1.205, allocations: 198.8 kB / 1.293 GB, free: 9.18 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.789e-05/1.206, allocations: 3.75 kB / 1.293 GB, free: 9.18 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/1.206, allocations: 36.16 kB / 1.294 GB, free: 9.137 MB / 1.014 GB Notification: Performance of pre-optimization done (n=32): time 2.044e-06/1.206, allocations: 7.938 kB / 1.294 GB, free: 9.129 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.003009/1.209, allocations: 1.519 MB / 1.295 GB, free: 8.176 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/1.209, allocations: 56.56 kB / 1.295 GB, free: 8.113 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000645/1.209, allocations: 499.9 kB / 1.296 GB, free: 7.883 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/1.209, allocations: 32.12 kB / 1.296 GB, free: 7.848 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003132/1.21, allocations: 361.7 kB / 1.296 GB, free: 7.555 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/1.21, allocations: 121.7 kB / 1.296 GB, free: 7.461 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/1.21, allocations: 115.9 kB / 1.296 GB, free: 7.395 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002101/1.21, allocations: 364.5 kB / 1.296 GB, free: 7.059 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003017/1.21, allocations: 195.4 kB / 1.297 GB, free: 6.996 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005188/1.211, allocations: 444.5 kB / 1.297 GB, free: 6.605 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008918/1.212, allocations: 0.6878 MB / 1.298 GB, free: 6.078 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/1.212, allocations: 7.906 kB / 1.298 GB, free: 6.074 MB / 1.014 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001365/1.213, allocations: 0.807 MB / 1.299 GB, free: 5.715 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/1.213, allocations: 11.38 kB / 1.299 GB, free: 5.715 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/1.213, allocations: 12.03 kB / 1.299 GB, free: 5.711 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005299/1.214, allocations: 155.8 kB / 1.299 GB, free: 5.641 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004693/1.214, allocations: 122.7 kB / 1.299 GB, free: 5.629 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004456/1.219, allocations: 4.349 MB / 1.303 GB, free: 1.352 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004947/1.219, allocations: 34.19 kB / 1.303 GB, free: 1.344 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.493e-05/1.219, allocations: 30.44 kB / 1.303 GB, free: 1.336 MB / 1.014 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.0003599/1.22, allocations: 215.4 kB / 1.303 GB, free: 1.164 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/1.22, allocations: 67.08 kB / 1.303 GB, free: 1.129 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/1.221, allocations: 0.5977 MB / 1.304 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/1.221, allocations: 6.828 kB / 1.304 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.221, allocations: 1.344 kB / 1.304 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/1.221, allocations: 2.906 kB / 1.304 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002169/1.223, allocations: 1.257 MB / 1.305 GB, free: 132 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/1.223, allocations: 2.094 kB / 1.305 GB, free: 132 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002527/1.223, allocations: 55.33 kB / 1.305 GB, free: 128 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004502/1.224, allocations: 142.9 kB / 1.305 GB, free: 60 kB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.141e-05/1.224, allocations: 15.59 kB / 1.305 GB, free: 48 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003963/1.228, allocations: 4.338 MB / 1.31 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.228, allocations: 6.906 kB / 1.31 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/1.229, allocations: 0.7133 MB / 1.31 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002512/1.229, allocations: 169.6 kB / 1.311 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.35e-05/1.229, allocations: 9.484 kB / 1.311 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/1.23, allocations: 22.83 kB / 1.311 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.832e-05/1.23, allocations: 35.3 kB / 1.311 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/1.23, allocations: 11.84 kB / 1.311 GB, free: 11.18 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004477/1.23, allocations: 329.7 kB / 1.311 GB, free: 11.03 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/1.23, allocations: 0 / 1.311 GB, free: 11.03 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007455/1.231, allocations: 142.6 kB / 1.311 GB, free: 11.01 MB / 1.029 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.0001725/1.231, allocations: 112.8 kB / 1.311 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00174/1.233, allocations: 1.014 MB / 1.312 GB, free: 10.2 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.233, allocations: 0 / 1.312 GB, free: 10.2 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/1.234, allocations: 0.7236 MB / 1.313 GB, free: 9.59 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/1.235, allocations: 198.8 kB / 1.313 GB, free: 9.523 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/1.237, allocations: 1.063 MB / 1.314 GB, free: 8.914 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007534/1.238, allocations: 0.9061 MB / 1.315 GB, free: 8.195 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003688/1.238, allocations: 116.6 kB / 1.315 GB, free: 8.172 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/1.238, allocations: 39.42 kB / 1.315 GB, free: 8.164 MB / 1.029 GB Notification: Performance of SimCode: time 8.91e-07/1.238, allocations: 1.25 kB / 1.315 GB, free: 8.164 MB / 1.029 GB Notification: Performance of Templates: time 0.02253/1.261, allocations: 7.927 MB / 1.323 GB, free: 7.641 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.894843621179461]