Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.001/0.001, allocations: 81.95 kB / 20.68 MB, free: 3.816 MB / 18.57 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.0009661/0.0009661, allocations: 185.3 kB / 24.09 MB, free: 420 kB / 18.57 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 0.9039/0.9039, allocations: 177.1 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.791/1.791, allocations: 377.9 MB / 0.624 GB, free: 8.398 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.812 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.455e-05/1.576e-05, allocations: 3.562 kB / 0.812 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.006093/0.006109, allocations: 7.658 MB / 0.8195 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005644/0.01175, allocations: 5.782 MB / 0.8251 GB, free: 3.98 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005198/0.01227, allocations: 84.34 kB / 0.8252 GB, free: 3.898 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0007234/0.013, allocations: 377.1 kB / 0.8256 GB, free: 3.527 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001943/0.01494, allocations: 1.425 MB / 0.827 GB, free: 2.109 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000747/0.01569, allocations: 0.5538 MB / 0.8275 GB, free: 1.559 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001715/0.0174, allocations: 2.368 MB / 0.8298 GB, free: 15.18 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009282/0.01833, allocations: 1.152 MB / 0.8309 GB, free: 13.99 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.01954, allocations: 1.553 MB / 0.8325 GB, free: 12.44 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007245/0.02027, allocations: 0.8804 MB / 0.8333 GB, free: 11.55 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.02039, allocations: 136 kB / 0.8334 GB, free: 11.42 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003585/0.02075, allocations: 295.5 kB / 0.8337 GB, free: 11.13 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0003183/0.02107, allocations: 0.5958 MB / 0.8343 GB, free: 10.54 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0003745/0.02144, allocations: 0.5883 MB / 0.8349 GB, free: 9.945 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.02265, allocations: 1.401 MB / 0.8363 GB, free: 8.539 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.02265, allocations: 3.938 kB / 0.8363 GB, free: 8.535 MB / 0.7917 GB Notification: Performance of FrontEnd: time 9.32e-07/0.02265, allocations: 0 / 0.8363 GB, free: 8.535 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.02266, allocations: 4 kB / 0.8363 GB, free: 8.531 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.001536/0.0242, allocations: 2.01 MB / 0.8382 GB, free: 6.477 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.02423, allocations: 12.03 kB / 0.8382 GB, free: 6.465 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002927/0.02716, allocations: 0.8423 MB / 0.8391 GB, free: 5.621 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.02818, allocations: 1.141 MB / 0.8402 GB, free: 4.434 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.264e-05/0.02822, allocations: 86.62 kB / 0.8403 GB, free: 4.348 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.02835, allocations: 124.4 kB / 0.8404 GB, free: 4.227 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.02982, allocations: 1.615 MB / 0.8419 GB, free: 2.375 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/0.02984, allocations: 11.83 kB / 0.842 GB, free: 2.363 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-05/0.02993, allocations: 55.98 kB / 0.842 GB, free: 2.309 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001422/0.03007, allocations: 106.2 kB / 0.8421 GB, free: 2.203 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006939/0.03076, allocations: 0.6159 MB / 0.8427 GB, free: 1.574 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004952/0.03572, allocations: 7.346 MB / 0.8499 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.03674, allocations: 404.8 kB / 0.8503 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002308/0.03697, allocations: 207.3 kB / 0.8505 GB, free: 9.41 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.037, allocations: 8.5 kB / 0.8505 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.03703, allocations: 41.89 kB / 0.8505 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=53): time 1.703e-06/0.03703, allocations: 0 / 0.8505 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of matching and sorting (n=81): time 0.004128/0.04116, allocations: 2.601 MB / 0.8531 GB, free: 6.711 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/0.04118, allocations: 60.06 kB / 0.8531 GB, free: 6.641 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000563/0.04174, allocations: 0.9274 MB / 0.854 GB, free: 5.699 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.138e-05/0.04181, allocations: 41.7 kB / 0.8541 GB, free: 5.652 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003562/0.04216, allocations: 0.8076 MB / 0.8549 GB, free: 4.836 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/0.04233, allocations: 301.4 kB / 0.8551 GB, free: 4.539 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/0.04256, allocations: 200.1 kB / 0.8553 GB, free: 4.332 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.04268, allocations: 0.5198 MB / 0.8558 GB, free: 3.805 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002777/0.04296, allocations: 241.8 kB / 0.8561 GB, free: 3.57 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004166/0.04337, allocations: 0.5556 MB / 0.8566 GB, free: 2.887 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009765/0.04435, allocations: 0.8441 MB / 0.8574 GB, free: 1.914 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.04435, allocations: 7.938 kB / 0.8574 GB, free: 1.906 MB / 0.8073 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001876/0.04623, allocations: 1.446 MB / 0.8589 GB, free: 432 kB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.04625, allocations: 8 kB / 0.8589 GB, free: 424 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.04626, allocations: 8 kB / 0.8589 GB, free: 416 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001468/0.04772, allocations: 0.6803 MB / 0.8595 GB, free: 15.69 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004816/0.04821, allocations: 179.7 kB / 0.8597 GB, free: 15.52 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007523/0.05573, allocations: 15.29 MB / 0.8746 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005007/0.05623, allocations: 47.98 kB / 0.8747 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.087e-05/0.05629, allocations: 44.14 kB / 0.8747 GB, free: 15.21 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000251/0.05654, allocations: 212.4 kB / 0.8749 GB, free: 15 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.05672, allocations: 163.2 kB / 0.8751 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001781/0.0585, allocations: 1.334 MB / 0.8764 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.0585, allocations: 11.94 kB / 0.8764 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.05851, allocations: 8 kB / 0.8764 GB, free: 13.44 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.05852, allocations: 3.984 kB / 0.8764 GB, free: 13.44 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00309/0.06161, allocations: 2.264 MB / 0.8786 GB, free: 11.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.06161, allocations: 4 kB / 0.8786 GB, free: 11.06 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003615/0.06197, allocations: 119.8 kB / 0.8787 GB, free: 10.94 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001312/0.06329, allocations: 0.6378 MB / 0.8794 GB, free: 10.27 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.992e-05/0.06334, allocations: 39.89 kB / 0.8794 GB, free: 10.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006878/0.07021, allocations: 15.21 MB / 0.8943 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.07022, allocations: 4 kB / 0.8943 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/0.07181, allocations: 1.372 MB / 0.8956 GB, free: 8.621 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002943/0.07211, allocations: 266.9 kB / 0.8959 GB, free: 8.359 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.964e-05/0.0722, allocations: 19.98 kB / 0.8959 GB, free: 8.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004231/0.07262, allocations: 39.98 kB / 0.8959 GB, free: 8.301 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.07274, allocations: 84.44 kB / 0.896 GB, free: 8.219 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.951e-05/0.07279, allocations: 39.91 kB / 0.896 GB, free: 8.18 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003219/0.07311, allocations: 0.5328 MB / 0.8966 GB, free: 7.641 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.07311, allocations: 0 / 0.8966 GB, free: 7.641 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008458/0.07395, allocations: 428 kB / 0.897 GB, free: 7.223 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001792/0.07413, allocations: 131.1 kB / 0.8971 GB, free: 7.086 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002183/0.07632, allocations: 2.362 MB / 0.8994 GB, free: 4.582 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.07632, allocations: 4.125 kB / 0.8994 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001258/0.07758, allocations: 1.96 MB / 0.9013 GB, free: 2.473 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.0786, allocations: 0.4936 MB / 0.9018 GB, free: 1.996 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002755/0.08136, allocations: 2.57 MB / 0.9043 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.08165, allocations: 403.2 kB / 0.9047 GB, free: 14.92 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000596/0.08224, allocations: 282.6 kB / 0.905 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006962/0.08294, allocations: 469.8 kB / 0.9054 GB, free: 14.18 MB / 0.8698 GB Notification: Performance of SimCode: time 7.72e-07/0.08294, allocations: 0 / 0.9054 GB, free: 14.18 MB / 0.8698 GB Notification: Performance of Templates: time 0.03271/0.1157, allocations: 33.13 MB / 0.9378 GB, free: 13.68 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.463823883794248]