Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 97.11 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 207.4 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.591/1.591, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.267/3.267, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RL.i.1.|RL.i.2.|RL.S.1.|RL.S.2.|generator.S.1.|generator.S.2.|grid.sou.S.1.|grid.sou.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RL.i.1.|RL.i.2.|RL.S.1.|RL.S.2.|generator.S.1.|generator.S.2.|grid.sou.S.1.|grid.sou.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 65.34 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4175/0.4196, allocations: 176.1 MB / 1.327 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.005136/0.4247, allocations: 3 MB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003485/0.4282, allocations: 1.858 MB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.4284, allocations: 7.938 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008742/0.4292, allocations: 239 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005696/0.4298, allocations: 223 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006634/0.4305, allocations: 259.3 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005164/0.431, allocations: 410.6 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003802/0.4314, allocations: 178 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003165/0.4317, allocations: 179.4 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003595/0.432, allocations: 199.3 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.923e-05/0.4321, allocations: 24 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004679/0.4326, allocations: 271.4 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.4327, allocations: 103.7 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.4328, allocations: 119.4 kB / 1.334 GB, free: 9.992 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006648/0.4335, allocations: 0.4944 MB / 1.334 GB, free: 9.496 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4335, allocations: 0 / 1.334 GB, free: 9.496 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4335, allocations: 0 / 1.334 GB, free: 9.496 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.4335, allocations: 4 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001356/0.4349, allocations: 0.5961 MB / 1.335 GB, free: 8.859 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.4349, allocations: 8.031 kB / 1.335 GB, free: 8.852 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.436, allocations: 120.6 kB / 1.335 GB, free: 8.734 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/0.4364, allocations: 242.3 kB / 1.335 GB, free: 8.473 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.4364, allocations: 16.81 kB / 1.335 GB, free: 8.457 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-05/0.4365, allocations: 24.36 kB / 1.335 GB, free: 8.434 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009241/0.4374, allocations: 460.1 kB / 1.336 GB, free: 7.941 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.4374, allocations: 4 kB / 1.336 GB, free: 7.938 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.447e-05/0.4375, allocations: 12 kB / 1.336 GB, free: 7.926 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-05/0.4375, allocations: 20.36 kB / 1.336 GB, free: 7.902 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009741/0.4385, allocations: 392.8 kB / 1.336 GB, free: 7.52 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/0.4405, allocations: 1.272 MB / 1.337 GB, free: 6.195 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.4418, allocations: 457 kB / 1.338 GB, free: 5.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004627/0.4422, allocations: 187.6 kB / 1.338 GB, free: 5.543 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001261/0.4424, allocations: 15.98 kB / 1.338 GB, free: 5.527 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006419/0.443, allocations: 305.9 kB / 1.338 GB, free: 5.203 MB / 1.029 GB Notification: Performance of pre-optimization done (n=27): time 1.934e-06/0.443, allocations: 0 / 1.338 GB, free: 5.203 MB / 1.029 GB Notification: Performance of matching and sorting (n=28): time 0.002046/0.445, allocations: 0.6878 MB / 1.339 GB, free: 4.508 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.4451, allocations: 81.11 kB / 1.339 GB, free: 4.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.4454, allocations: 225.1 kB / 1.339 GB, free: 4.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.342e-05/0.4454, allocations: 33.7 kB / 1.339 GB, free: 4.141 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.4455, allocations: 176.5 kB / 1.34 GB, free: 3.965 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.733e-05/0.4456, allocations: 95.2 kB / 1.34 GB, free: 3.871 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.4458, allocations: 69.64 kB / 1.34 GB, free: 3.797 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.4459, allocations: 334.8 kB / 1.34 GB, free: 3.461 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005043/0.4464, allocations: 218.4 kB / 1.34 GB, free: 3.238 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005403/0.447, allocations: 291 kB / 1.341 GB, free: 2.918 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009893/0.448, allocations: 470.9 kB / 1.341 GB, free: 2.422 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.448, allocations: 3.984 kB / 1.341 GB, free: 2.418 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001304/0.4493, allocations: 0.5883 MB / 1.342 GB, free: 1.809 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.684e-05/0.4493, allocations: 37.64 kB / 1.342 GB, free: 1.766 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.4493, allocations: 4.281 kB / 1.342 GB, free: 1.762 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00025/0.4496, allocations: 44.81 kB / 1.342 GB, free: 1.715 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004644/0.45, allocations: 91.84 kB / 1.342 GB, free: 1.625 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/0.4516, allocations: 1.481 MB / 1.343 GB, free: 36 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004107/0.452, allocations: 59.97 kB / 1.343 GB, free: 15.98 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/0.4521, allocations: 12 kB / 1.343 GB, free: 15.96 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005774/0.4527, allocations: 318 kB / 1.344 GB, free: 15.64 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005108/0.4532, allocations: 279.2 kB / 1.344 GB, free: 15.34 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009331/0.4541, allocations: 462.1 kB / 1.344 GB, free: 14.85 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.894e-06/0.4541, allocations: 0 / 1.344 GB, free: 14.85 MB / 1.045 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001262/0.4554, allocations: 0.564 MB / 1.345 GB, free: 14.26 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.4554, allocations: 33.7 kB / 1.345 GB, free: 14.22 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.4554, allocations: 7.938 kB / 1.345 GB, free: 14.21 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001534/0.4556, allocations: 41.09 kB / 1.345 GB, free: 14.17 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004636/0.456, allocations: 91.84 kB / 1.345 GB, free: 14.08 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.4575, allocations: 1.478 MB / 1.346 GB, free: 12.5 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003587/0.4578, allocations: 47.8 kB / 1.346 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.695e-05/0.4579, allocations: 19.98 kB / 1.346 GB, free: 12.43 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 (load.count,$PRE.load.count,load.T_start,$PRE.load.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002005/0.4581, allocations: 200.7 kB / 1.347 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.627e-05/0.4581, allocations: 23.86 kB / 1.347 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.4593, allocations: 485 kB / 1.347 GB, free: 11.71 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4594, allocations: 3.938 kB / 1.347 GB, free: 11.71 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.4594, allocations: 3.938 kB / 1.347 GB, free: 11.71 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.4595, allocations: 51.83 kB / 1.347 GB, free: 11.66 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.865e-05/0.4596, allocations: 11.92 kB / 1.347 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003488/0.4599, allocations: 47.94 kB / 1.347 GB, free: 11.6 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.46, allocations: 27.94 kB / 1.347 GB, free: 11.57 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001271/0.4613, allocations: 0.6061 MB / 1.348 GB, free: 10.95 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001383/0.4627, allocations: 0.8418 MB / 1.349 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003997/0.4631, allocations: 172.5 kB / 1.349 GB, free: 9.926 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002363/0.4633, allocations: 188.4 kB / 1.349 GB, free: 9.742 MB / 1.045 GB Notification: Performance of Backend: time 6.41e-07/0.4633, allocations: 0 / 1.349 GB, free: 9.742 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002632/0.4659, allocations: 1.107 MB / 1.35 GB, free: 8.562 MB / 1.045 GB Notification: Performance of SimCode: time 0.001297/0.4672, allocations: 0.964 MB / 1.351 GB, free: 7.555 MB / 1.045 GB Notification: Performance of Templates: time 0.0164/0.4836, allocations: 8.911 MB / 1.36 GB, free: 14.7 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.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.801130792002368]