Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.001501/0.001501, allocations: 109.1 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.001762/0.001762, allocations: 213.2 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.828 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.185/3.185, allocations: 0.49 GB / 0.7959 GB, free: 35.47 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.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load.v.1.|load.v.2.|E.terminal.v.1.|E.terminal.v.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load.v.1.|load.v.2.|E.terminal.v.1.|E.terminal.v.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") [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.003293/0.003293, allocations: 63.8 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3902, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.007076/0.3973, allocations: 4.267 MB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005762/0.403, allocations: 3.147 MB / 1.334 GB, free: 9.57 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003489/0.4034, allocations: 23.81 kB / 1.334 GB, free: 9.547 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001712/0.4051, allocations: 0.4928 MB / 1.335 GB, free: 9.055 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.4062, allocations: 397.9 kB / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007111/0.407, allocations: 255.4 kB / 1.335 GB, free: 8.414 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008474/0.4078, allocations: 0.6151 MB / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005659/0.4084, allocations: 333.8 kB / 1.336 GB, free: 7.469 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006237/0.409, allocations: 335.1 kB / 1.337 GB, free: 7.141 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005365/0.4095, allocations: 282.9 kB / 1.337 GB, free: 6.863 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.685e-05/0.4096, allocations: 40 kB / 1.337 GB, free: 6.824 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006809/0.4103, allocations: 279.5 kB / 1.337 GB, free: 6.551 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002003/0.4105, allocations: 171.5 kB / 1.337 GB, free: 6.383 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002356/0.4107, allocations: 187.1 kB / 1.338 GB, free: 6.199 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.4118, allocations: 0.802 MB / 1.338 GB, free: 5.395 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.4118, allocations: 0 / 1.338 GB, free: 5.395 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4118, allocations: 0 / 1.338 GB, free: 5.395 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.4118, allocations: 0 / 1.338 GB, free: 5.395 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001531/0.4134, allocations: 0.711 MB / 1.339 GB, free: 4.648 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.4134, allocations: 12.03 kB / 1.339 GB, free: 4.637 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003043/0.4165, allocations: 0.683 MB / 1.34 GB, free: 3.953 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008092/0.4173, allocations: 386.2 kB / 1.34 GB, free: 3.551 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.815e-05/0.4173, allocations: 37 kB / 1.34 GB, free: 3.516 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.135e-05/0.4174, allocations: 28.12 kB / 1.34 GB, free: 3.488 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001836/0.4192, allocations: 0.8438 MB / 1.341 GB, free: 2.602 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.4193, allocations: 0 / 1.341 GB, free: 2.602 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.467e-05/0.4193, allocations: 16 kB / 1.341 GB, free: 2.586 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001389/0.4195, allocations: 48.59 kB / 1.341 GB, free: 2.539 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002038/0.4215, allocations: 0.8764 MB / 1.342 GB, free: 1.664 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004064/0.4256, allocations: 2.047 MB / 1.344 GB, free: 15.56 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/0.4273, allocations: 0.5136 MB / 1.344 GB, free: 15.04 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000726/0.4281, allocations: 248.6 kB / 1.345 GB, free: 14.79 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.766e-05/0.4282, allocations: 15.98 kB / 1.345 GB, free: 14.77 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.4282, allocations: 30.56 kB / 1.345 GB, free: 14.73 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 2.625e-06/0.4282, allocations: 0 / 1.345 GB, free: 14.73 MB / 1.045 GB Notification: Performance of matching and sorting (n=24): time 0.01461/0.4428, allocations: 3.281 MB / 1.348 GB, free: 11.44 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.4429, allocations: 55.41 kB / 1.348 GB, free: 11.38 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000569/0.4434, allocations: 364.4 kB / 1.348 GB, free: 11.01 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.557e-05/0.4435, allocations: 33.7 kB / 1.348 GB, free: 10.97 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.4437, allocations: 244.2 kB / 1.349 GB, free: 10.73 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.4438, allocations: 91.2 kB / 1.349 GB, free: 10.64 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.444, allocations: 69.67 kB / 1.349 GB, free: 10.56 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.4442, allocations: 346.8 kB / 1.349 GB, free: 10.21 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.4452, allocations: 388.5 kB / 1.349 GB, free: 9.832 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.4463, allocations: 482.1 kB / 1.35 GB, free: 9.32 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002057/0.4484, allocations: 0.8065 MB / 1.351 GB, free: 8.488 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.4484, allocations: 11.88 kB / 1.351 GB, free: 8.477 MB / 1.045 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.006093/0.4545, allocations: 1.597 MB / 1.352 GB, free: 6.867 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.4545, allocations: 11.97 kB / 1.352 GB, free: 6.855 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.4545, allocations: 4 kB / 1.352 GB, free: 6.852 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004557/0.459, allocations: 0.8559 MB / 1.353 GB, free: 5.988 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007216/0.4598, allocations: 127.8 kB / 1.353 GB, free: 5.863 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008211/0.468, allocations: 4.942 MB / 1.358 GB, free: 0.7148 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009356/0.4689, allocations: 119.9 kB / 1.358 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-05/0.469, allocations: 19.98 kB / 1.358 GB, free: 0.5781 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001279/0.4703, allocations: 0.5544 MB / 1.359 GB, free: 20 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001104/0.4714, allocations: 478.2 kB / 1.359 GB, free: 15.52 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002006/0.4734, allocations: 0.7803 MB / 1.36 GB, free: 14.71 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.093e-06/0.4734, allocations: 4 kB / 1.36 GB, free: 14.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.005076/0.4784, allocations: 1.427 MB / 1.361 GB, free: 13.26 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.4785, allocations: 11.92 kB / 1.361 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.4785, allocations: 7.938 kB / 1.361 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003084/0.4815, allocations: 0.6259 MB / 1.362 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006681/0.4822, allocations: 127.8 kB / 1.362 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006721/0.4889, allocations: 4.548 MB / 1.367 GB, free: 7.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009666/0.4899, allocations: 115.8 kB / 1.367 GB, free: 7.617 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-05/0.49, allocations: 19.98 kB / 1.367 GB, free: 7.598 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002476/0.4902, allocations: 199.7 kB / 1.367 GB, free: 7.398 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.4903, allocations: 35.77 kB / 1.367 GB, free: 7.363 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005123/0.4954, allocations: 1.438 MB / 1.368 GB, free: 5.91 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.4954, allocations: 0 / 1.368 GB, free: 5.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.4954, allocations: 0 / 1.368 GB, free: 5.91 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003093/0.4958, allocations: 91.75 kB / 1.368 GB, free: 5.82 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.418e-05/0.4958, allocations: 11.89 kB / 1.368 GB, free: 5.809 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006267/0.4965, allocations: 87.84 kB / 1.368 GB, free: 5.723 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.4966, allocations: 31.89 kB / 1.369 GB, free: 5.691 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003782/0.5004, allocations: 1.269 MB / 1.37 GB, free: 4.41 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002427/0.5028, allocations: 1.176 MB / 1.371 GB, free: 3.215 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007349/0.5035, allocations: 323.7 kB / 1.371 GB, free: 2.898 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004231/0.504, allocations: 286.9 kB / 1.371 GB, free: 2.617 MB / 1.061 GB Notification: Performance of Backend: time 6.21e-07/0.504, allocations: 0 / 1.371 GB, free: 2.617 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004416/0.5084, allocations: 1.737 MB / 1.373 GB, free: 0.8242 MB / 1.061 GB Notification: Performance of SimCode: time 0.002056/0.5104, allocations: 1.422 MB / 1.375 GB, free: 15.36 MB / 1.076 GB Notification: Performance of Templates: time 0.02782/0.5382, allocations: 18.02 MB / 1.392 GB, free: 13.46 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.561042303997965]