Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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.001264/0.001264, allocations: 108.2 kB / 19.71 MB, free: 2.145 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.001485/0.001485, allocations: 211.9 kB / 23 MB, free: 4.969 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.22/3.22, allocations: 0.49 GB / 0.7959 GB, free: 35.42 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.ThreePhasesBalanced.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.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.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.00209/0.00209, allocations: 73.2 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3737, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.005764/0.3795, allocations: 3.539 MB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003485/0.3829, allocations: 1.874 MB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.3831, allocations: 7.938 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008654/0.3839, allocations: 235 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005394/0.3845, allocations: 223 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006861/0.3852, allocations: 259.3 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004938/0.3857, allocations: 398.8 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003656/0.386, allocations: 178 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003097/0.3863, allocations: 175.4 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003392/0.3867, allocations: 203.3 kB / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.267e-05/0.3867, allocations: 24 kB / 1.334 GB, free: 9.859 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004518/0.3872, allocations: 267.5 kB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.3873, allocations: 107.6 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.3875, allocations: 119.4 kB / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006973/0.3882, allocations: 0.5021 MB / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3882, allocations: 0 / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.295e-06/0.3882, allocations: 0 / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.3882, allocations: 0 / 1.335 GB, free: 8.871 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.001489/0.3897, allocations: 0.5884 MB / 1.336 GB, free: 8.246 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.3897, allocations: 8.031 kB / 1.336 GB, free: 8.238 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.3908, allocations: 124.6 kB / 1.336 GB, free: 8.117 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004365/0.3912, allocations: 242.3 kB / 1.336 GB, free: 7.855 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.119e-05/0.3912, allocations: 12.81 kB / 1.336 GB, free: 7.844 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.472e-05/0.3913, allocations: 24.36 kB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009576/0.3923, allocations: 460.2 kB / 1.336 GB, free: 7.328 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.3923, allocations: 3.938 kB / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.062e-05/0.3923, allocations: 8 kB / 1.336 GB, free: 7.316 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-05/0.3924, allocations: 24.36 kB / 1.336 GB, free: 7.289 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.3934, allocations: 400.8 kB / 1.337 GB, free: 6.898 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001963/0.3953, allocations: 1.264 MB / 1.338 GB, free: 5.582 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.3967, allocations: 456.7 kB / 1.338 GB, free: 5.121 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004963/0.3972, allocations: 185.5 kB / 1.339 GB, free: 4.934 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001263/0.3973, allocations: 19.98 kB / 1.339 GB, free: 4.914 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000684/0.398, allocations: 305.9 kB / 1.339 GB, free: 4.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=27): time 2.425e-06/0.398, allocations: 0 / 1.339 GB, free: 4.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=28): time 0.002206/0.4002, allocations: 0.6992 MB / 1.34 GB, free: 3.883 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/0.4003, allocations: 85.11 kB / 1.34 GB, free: 3.781 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002922/0.4005, allocations: 220.9 kB / 1.34 GB, free: 3.555 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.931e-05/0.4006, allocations: 33.69 kB / 1.34 GB, free: 3.516 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002469/0.4008, allocations: 176.5 kB / 1.34 GB, free: 3.34 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.4009, allocations: 91.41 kB / 1.34 GB, free: 3.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.4011, allocations: 69.64 kB / 1.34 GB, free: 3.176 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002465/0.4013, allocations: 338.8 kB / 1.341 GB, free: 2.836 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005616/0.4019, allocations: 214.5 kB / 1.341 GB, free: 2.617 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005909/0.4025, allocations: 287 kB / 1.341 GB, free: 2.301 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.4035, allocations: 478.8 kB / 1.342 GB, free: 1.797 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.4035, allocations: 0 / 1.342 GB, free: 1.797 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001375/0.4049, allocations: 0.5922 MB / 1.342 GB, free: 1.184 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.69e-05/0.405, allocations: 33.69 kB / 1.342 GB, free: 1.145 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.405, allocations: 4 kB / 1.342 GB, free: 1.141 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002709/0.4052, allocations: 40.77 kB / 1.342 GB, free: 1.098 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004832/0.4057, allocations: 96.09 kB / 1.342 GB, free: 1.004 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001802/0.4075, allocations: 1.481 MB / 1.344 GB, free: 15.41 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004084/0.4079, allocations: 51.86 kB / 1.344 GB, free: 15.36 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.069e-05/0.408, allocations: 16 kB / 1.344 GB, free: 15.35 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006742/0.4086, allocations: 318.1 kB / 1.344 GB, free: 15.03 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005272/0.4092, allocations: 279.2 kB / 1.344 GB, free: 14.72 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009357/0.4101, allocations: 458.2 kB / 1.345 GB, free: 14.23 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.837e-06/0.4101, allocations: 3.984 kB / 1.345 GB, free: 14.23 MB / 1.045 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001255/0.4114, allocations: 0.5602 MB / 1.345 GB, free: 13.65 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.916e-05/0.4114, allocations: 37.69 kB / 1.345 GB, free: 13.61 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.4114, allocations: 8.125 kB / 1.345 GB, free: 13.6 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001551/0.4116, allocations: 44.81 kB / 1.345 GB, free: 13.55 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004656/0.412, allocations: 83.84 kB / 1.345 GB, free: 13.47 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/0.4136, allocations: 1.473 MB / 1.347 GB, free: 11.89 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003611/0.414, allocations: 47.92 kB / 1.347 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.104e-05/0.414, allocations: 23.98 kB / 1.347 GB, free: 11.82 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.0002079/0.4142, allocations: 200.6 kB / 1.347 GB, free: 11.61 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.946e-05/0.4143, allocations: 31.92 kB / 1.347 GB, free: 11.58 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.4155, allocations: 481 kB / 1.348 GB, free: 11.1 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.4155, allocations: 0 / 1.348 GB, free: 11.1 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4155, allocations: 7.875 kB / 1.348 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.4157, allocations: 55.81 kB / 1.348 GB, free: 11.04 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.715e-05/0.4157, allocations: 11.88 kB / 1.348 GB, free: 11.02 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003492/0.4161, allocations: 47.88 kB / 1.348 GB, free: 10.98 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.4162, allocations: 27.94 kB / 1.348 GB, free: 10.95 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001333/0.4175, allocations: 0.61 MB / 1.348 GB, free: 10.33 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001466/0.419, allocations: 0.8379 MB / 1.349 GB, free: 9.473 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004011/0.4194, allocations: 172.4 kB / 1.349 GB, free: 9.305 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002325/0.4196, allocations: 176.5 kB / 1.35 GB, free: 9.133 MB / 1.045 GB Notification: Performance of Backend: time 4.81e-07/0.4196, allocations: 0 / 1.35 GB, free: 9.133 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002673/0.4223, allocations: 1.105 MB / 1.351 GB, free: 7.957 MB / 1.045 GB Notification: Performance of SimCode: time 0.001279/0.4235, allocations: 0.9805 MB / 1.352 GB, free: 6.93 MB / 1.045 GB Notification: Performance of Templates: time 0.01572/0.4393, allocations: 8.901 MB / 1.36 GB, free: 14.1 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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.45870073900005]