Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001039/0.001039, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009429/0.0009429, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9011/0.9011, allocations: 177.1 MB / 204.2 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.666/1.666, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.7871 GB, free: 11.38 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.81e-05/1.935e-05, allocations: 2.312 kB / 0.7871 GB, free: 11.38 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.006831/0.006851, allocations: 7.835 MB / 0.7947 GB, free: 3.523 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.006383/0.01323, allocations: 5.881 MB / 0.8005 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006962/0.01393, allocations: 87.97 kB / 0.8006 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0009076/0.01484, allocations: 370.4 kB / 0.8009 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.002693/0.01753, allocations: 1.42 MB / 0.8023 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.01863, allocations: 0.5574 MB / 0.8028 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001798/0.02043, allocations: 2.377 MB / 0.8052 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001123/0.02155, allocations: 1.141 MB / 0.8063 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001387/0.02294, allocations: 1.556 MB / 0.8078 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009785/0.02392, allocations: 0.8804 MB / 0.8087 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001361/0.02405, allocations: 136 kB / 0.8088 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004216/0.02448, allocations: 279.7 kB / 0.8091 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0003636/0.02484, allocations: 0.5958 MB / 0.8096 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0004239/0.02526, allocations: 0.5922 MB / 0.8102 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.02644, allocations: 1.405 MB / 0.8116 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.02645, allocations: 4 kB / 0.8116 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.134e-06/0.02645, allocations: 0 / 0.8116 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.383e-05/0.02646, allocations: 4 kB / 0.8116 GB, free: 2.223 MB / 0.7136 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.002022/0.02849, allocations: 2.01 MB / 0.8136 GB, free: 172 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.02854, allocations: 16.03 kB / 0.8136 GB, free: 156 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004474/0.03301, allocations: 1.692 MB / 0.8152 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.03428, allocations: 1.188 MB / 0.8164 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.826e-05/0.03432, allocations: 86.69 kB / 0.8165 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.03447, allocations: 116.4 kB / 0.8166 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002041/0.03652, allocations: 1.861 MB / 0.8184 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.837e-05/0.03654, allocations: 15.88 kB / 0.8184 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.129e-05/0.03664, allocations: 47.98 kB / 0.8185 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001934/0.03683, allocations: 134.1 kB / 0.8186 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.03788, allocations: 0.7583 MB / 0.8193 GB, free: 9.957 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005702/0.04358, allocations: 7.922 MB / 0.8271 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.0447, allocations: 0.617 MB / 0.8277 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003198/0.04502, allocations: 241 kB / 0.8279 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/0.04505, allocations: 8.5 kB / 0.8279 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.04508, allocations: 41.89 kB / 0.8279 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=53): time 2.004e-06/0.04508, allocations: 0 / 0.8279 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of matching and sorting (n=81): time 0.005048/0.05013, allocations: 3.017 MB / 0.8309 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.05016, allocations: 68.06 kB / 0.831 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006592/0.05082, allocations: 0.9359 MB / 0.8319 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.565e-05/0.05089, allocations: 37.7 kB / 0.8319 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003525/0.05124, allocations: 0.8117 MB / 0.8327 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/0.05141, allocations: 301.4 kB / 0.833 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000237/0.05165, allocations: 200.2 kB / 0.8332 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.05177, allocations: 0.5159 MB / 0.8337 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004073/0.05218, allocations: 313.8 kB / 0.834 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005501/0.05273, allocations: 0.6377 MB / 0.8346 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009699/0.0537, allocations: 0.9535 MB / 0.8355 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.0537, allocations: 4 kB / 0.8355 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002303/0.056, allocations: 1.602 MB / 0.8371 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.05603, allocations: 12.03 kB / 0.8371 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.05604, allocations: 4 kB / 0.8371 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001658/0.0577, allocations: 0.6882 MB / 0.8378 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006406/0.05834, allocations: 303.4 kB / 0.8381 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007942/0.06628, allocations: 15.6 MB / 0.8533 GB, free: 5.504 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007266/0.067, allocations: 179.7 kB / 0.8535 GB, free: 5.328 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.955e-05/0.06707, allocations: 47.97 kB / 0.8535 GB, free: 5.281 MB / 0.7605 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.0003408/0.06741, allocations: 220.3 kB / 0.8537 GB, free: 5.055 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001808/0.0676, allocations: 159.2 kB / 0.8539 GB, free: 4.898 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00211/0.06971, allocations: 1.443 MB / 0.8553 GB, free: 3.406 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.06971, allocations: 8 kB / 0.8553 GB, free: 3.398 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.06972, allocations: 11.94 kB / 0.8553 GB, free: 3.387 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.06973, allocations: 3.984 kB / 0.8553 GB, free: 3.383 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003472/0.0732, allocations: 2.637 MB / 0.8579 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.0732, allocations: 0 / 0.8579 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005013/0.0737, allocations: 243.5 kB / 0.8581 GB, free: 396 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001435/0.07514, allocations: 0.6535 MB / 0.8588 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.683e-05/0.07519, allocations: 35.91 kB / 0.8588 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007777/0.08297, allocations: 15.55 MB / 0.874 GB, free: 15.12 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.08298, allocations: 7.938 kB / 0.874 GB, free: 15.12 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002122/0.0851, allocations: 1.478 MB / 0.8754 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003724/0.08547, allocations: 287 kB / 0.8757 GB, free: 13.26 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.08558, allocations: 16 kB / 0.8757 GB, free: 13.24 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000592/0.08617, allocations: 187.6 kB / 0.8759 GB, free: 13.06 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001981/0.08637, allocations: 84.44 kB / 0.876 GB, free: 12.98 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.743e-05/0.08642, allocations: 39.97 kB / 0.876 GB, free: 12.94 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004806/0.08691, allocations: 0.5681 MB / 0.8766 GB, free: 12.36 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.08691, allocations: 0 / 0.8766 GB, free: 12.36 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001115/0.08802, allocations: 428 kB / 0.877 GB, free: 11.95 MB / 0.7917 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.0002046/0.08822, allocations: 139 kB / 0.8771 GB, free: 11.8 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.00232/0.09054, allocations: 2.479 MB / 0.8796 GB, free: 9.18 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.09055, allocations: 8.125 kB / 0.8796 GB, free: 9.172 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001425/0.09197, allocations: 2.042 MB / 0.8816 GB, free: 6.984 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.09307, allocations: 0.4945 MB / 0.882 GB, free: 6.512 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003202/0.09627, allocations: 2.645 MB / 0.8846 GB, free: 3.781 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.09656, allocations: 391.3 kB / 0.885 GB, free: 3.375 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0006522/0.09721, allocations: 306.6 kB / 0.8853 GB, free: 3.07 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/0.09745, allocations: 100.4 kB / 0.8854 GB, free: 2.973 MB / 0.7917 GB Notification: Performance of SimCode: time 8.52e-07/0.09745, allocations: 0 / 0.8854 GB, free: 2.973 MB / 0.7917 GB Notification: Performance of Templates: time 0.03236/0.1298, allocations: 32.86 MB / 0.9175 GB, free: 2.773 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.235965452156961]