Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009278/0.0009278, allocations: 81.08 kB / 19.87 MB, free: 4.621 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.0008684/0.0008684, allocations: 169 kB / 23.28 MB, free: 1.219 MB / 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.9304/0.9304, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.256/2.256, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.8897 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.364e-05/1.507e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.005938/0.005953, allocations: 7.657 MB / 0.8972 GB, free: 2.098 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00575/0.0117, allocations: 5.795 MB / 0.9029 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005821/0.01229, allocations: 87.25 kB / 0.903 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007298/0.01301, allocations: 377.1 kB / 0.9033 GB, free: 11.83 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001957/0.01497, allocations: 1.412 MB / 0.9047 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007299/0.0157, allocations: 0.5575 MB / 0.9052 GB, free: 9.852 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001669/0.01737, allocations: 2.368 MB / 0.9076 GB, free: 7.473 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.0184, allocations: 1.152 MB / 0.9087 GB, free: 6.285 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00145/0.01985, allocations: 1.555 MB / 0.9102 GB, free: 4.727 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008344/0.02069, allocations: 0.8726 MB / 0.9111 GB, free: 3.852 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001362/0.02082, allocations: 136 kB / 0.9112 GB, free: 3.719 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004059/0.02123, allocations: 295.5 kB / 0.9115 GB, free: 3.43 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.000328/0.02156, allocations: 0.5997 MB / 0.912 GB, free: 2.828 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004074/0.02196, allocations: 0.5845 MB / 0.9126 GB, free: 2.242 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.02301, allocations: 1.405 MB / 0.914 GB, free: 0.832 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.02302, allocations: 0 / 0.914 GB, free: 0.832 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.012e-06/0.02302, allocations: 0 / 0.914 GB, free: 0.832 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.962e-05/0.02304, allocations: 4 kB / 0.914 GB, free: 0.8281 MB / 0.8698 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.001632/0.02467, allocations: 2.018 MB / 0.916 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.0247, allocations: 8.625 kB / 0.916 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003102/0.0278, allocations: 0.8384 MB / 0.9168 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.02914, allocations: 1.137 MB / 0.9179 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.959e-05/0.02919, allocations: 86.7 kB / 0.918 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.02934, allocations: 120.3 kB / 0.9181 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.03096, allocations: 1.626 MB / 0.9197 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.206e-05/0.03099, allocations: 11.88 kB / 0.9197 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.841e-05/0.03108, allocations: 47.98 kB / 0.9197 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001631/0.03125, allocations: 110.2 kB / 0.9199 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007681/0.03201, allocations: 0.6159 MB / 0.9205 GB, free: 9.871 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005302/0.03732, allocations: 7.335 MB / 0.9276 GB, free: 2.328 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008155/0.03813, allocations: 413.6 kB / 0.928 GB, free: 1.91 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/0.03837, allocations: 195.8 kB / 0.9282 GB, free: 1.719 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.0384, allocations: 12.5 kB / 0.9282 GB, free: 1.707 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.03842, allocations: 45.88 kB / 0.9283 GB, free: 1.652 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=53): time 1.924e-06/0.03842, allocations: 0 / 0.9283 GB, free: 1.652 MB / 0.8855 GB Notification: Performance of matching and sorting (n=81): time 0.004346/0.04277, allocations: 2.585 MB / 0.9308 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.0428, allocations: 60.06 kB / 0.9308 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005583/0.04335, allocations: 0.9197 MB / 0.9317 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.766e-05/0.04341, allocations: 41.7 kB / 0.9318 GB, free: 13.97 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003446/0.04376, allocations: 0.8116 MB / 0.9326 GB, free: 13.15 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.04392, allocations: 301.4 kB / 0.9329 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002274/0.04415, allocations: 212 kB / 0.9331 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.04427, allocations: 0.5276 MB / 0.9336 GB, free: 12.11 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002804/0.04455, allocations: 237.8 kB / 0.9338 GB, free: 11.87 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004049/0.04495, allocations: 0.5674 MB / 0.9344 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007236/0.04568, allocations: 0.8479 MB / 0.9352 GB, free: 10.2 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.04568, allocations: 4 kB / 0.9352 GB, free: 10.2 MB / 0.9011 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001874/0.04756, allocations: 1.438 MB / 0.9366 GB, free: 8.715 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.04757, allocations: 8 kB / 0.9366 GB, free: 8.707 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.04758, allocations: 7.984 kB / 0.9366 GB, free: 8.699 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001649/0.04923, allocations: 0.6764 MB / 0.9373 GB, free: 7.988 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004844/0.04972, allocations: 187.7 kB / 0.9374 GB, free: 7.805 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007218/0.05693, allocations: 15.29 MB / 0.9524 GB, free: 7.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005331/0.05747, allocations: 47.98 kB / 0.9524 GB, free: 7.543 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.414e-05/0.05753, allocations: 47.95 kB / 0.9525 GB, free: 7.496 MB / 0.9167 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.0002836/0.05782, allocations: 216.4 kB / 0.9527 GB, free: 7.273 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.05799, allocations: 159.2 kB / 0.9528 GB, free: 7.117 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001815/0.05981, allocations: 1.318 MB / 0.9541 GB, free: 5.75 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.05981, allocations: 8 kB / 0.9541 GB, free: 5.742 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.05982, allocations: 8 kB / 0.9541 GB, free: 5.734 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.05983, allocations: 7.922 kB / 0.9541 GB, free: 5.727 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002799/0.06263, allocations: 2.276 MB / 0.9564 GB, free: 3.336 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.06263, allocations: 4.328 kB / 0.9564 GB, free: 3.332 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003591/0.06299, allocations: 123.8 kB / 0.9565 GB, free: 3.211 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001341/0.06433, allocations: 0.6335 MB / 0.9571 GB, free: 2.543 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.421e-05/0.06438, allocations: 31.95 kB / 0.9571 GB, free: 2.512 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007036/0.07142, allocations: 15.21 MB / 0.972 GB, free: 2.387 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.07142, allocations: 4 kB / 0.972 GB, free: 2.383 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/0.07303, allocations: 1.376 MB / 0.9733 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003004/0.07333, allocations: 266.8 kB / 0.9736 GB, free: 0.6445 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.361e-05/0.07342, allocations: 19.98 kB / 0.9736 GB, free: 0.625 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004214/0.07384, allocations: 39.98 kB / 0.9736 GB, free: 0.5859 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.07398, allocations: 88.38 kB / 0.9737 GB, free: 0.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.142e-05/0.07403, allocations: 31.97 kB / 0.9738 GB, free: 480 kB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003276/0.07436, allocations: 0.5289 MB / 0.9743 GB, free: 15.93 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.07436, allocations: 0 / 0.9743 GB, free: 15.93 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009546/0.07531, allocations: 431.9 kB / 0.9747 GB, free: 15.51 MB / 0.948 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.000217/0.07553, allocations: 127.1 kB / 0.9748 GB, free: 15.38 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001892/0.07742, allocations: 2.361 MB / 0.9771 GB, free: 12.88 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.07743, allocations: 4 kB / 0.9771 GB, free: 12.87 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001388/0.07881, allocations: 1.969 MB / 0.979 GB, free: 10.76 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.07986, allocations: 0.5024 MB / 0.9795 GB, free: 10.27 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002794/0.08266, allocations: 2.566 MB / 0.982 GB, free: 7.625 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.08293, allocations: 391.3 kB / 0.9824 GB, free: 7.219 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006015/0.08353, allocations: 282.6 kB / 0.9827 GB, free: 6.938 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006962/0.08423, allocations: 469.8 kB / 0.9831 GB, free: 6.477 MB / 0.948 GB Notification: Performance of SimCode: time 7.01e-07/0.08423, allocations: 4 kB / 0.9831 GB, free: 6.473 MB / 0.948 GB Notification: Performance of Templates: time 0.03288/0.1171, allocations: 33.12 MB / 1.015 GB, free: 5.969 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.681423174217343]