Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 193.5 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.745/2.745, allocations: 472.6 MB / 0.7447 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 63.11 kB / 0.9114 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3597, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.008401/0.3682, allocations: 6.104 MB / 1.074 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005139/0.3734, allocations: 3.153 MB / 1.077 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006461/0.3741, allocations: 27.81 kB / 1.077 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002294/0.3764, allocations: 0.8758 MB / 1.077 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001375/0.3778, allocations: 446 kB / 1.078 GB, free: 196 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.3791, allocations: 438.5 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001578/0.3807, allocations: 1.455 MB / 1.08 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009878/0.3817, allocations: 0.625 MB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005508/0.3823, allocations: 394.3 kB / 1.081 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005759/0.3829, allocations: 490.1 kB / 1.081 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.96e-05/0.383, allocations: 44 kB / 1.081 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.3841, allocations: 0.5808 MB / 1.082 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002769/0.3843, allocations: 267.3 kB / 1.082 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000367/0.3847, allocations: 381.9 kB / 1.082 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.386, allocations: 1.184 MB / 1.084 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.386, allocations: 0 / 1.084 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.142e-06/0.386, allocations: 0 / 1.084 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.3861, allocations: 4 kB / 1.084 GB, free: 10.36 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001705/0.3878, allocations: 1.04 MB / 1.085 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.3878, allocations: 12.03 kB / 1.085 GB, free: 9.25 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/0.3894, allocations: 227.7 kB / 1.085 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007755/0.3901, allocations: 0.5375 MB / 1.085 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.116e-05/0.3902, allocations: 45.67 kB / 1.085 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.3903, allocations: 64.36 kB / 1.085 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.3917, allocations: 1.026 MB / 1.086 GB, free: 7.211 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.259e-05/0.3918, allocations: 7.938 kB / 1.086 GB, free: 7.203 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-05/0.3918, allocations: 35.98 kB / 1.086 GB, free: 7.168 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.192e-05/0.3919, allocations: 65.27 kB / 1.087 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.393, allocations: 0.6918 MB / 1.087 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005149/0.3981, allocations: 5.76 MB / 1.093 GB, free: 232 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009612/0.3991, allocations: 0.5981 MB / 1.093 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009492/0.4001, allocations: 420.5 kB / 1.094 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.213e-05/0.4001, allocations: 4 kB / 1.094 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.4002, allocations: 42.48 kB / 1.094 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=41): time 2.435e-06/0.4002, allocations: 0 / 1.094 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of matching and sorting (n=42): time 0.004468/0.4047, allocations: 2.049 MB / 1.096 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.4047, allocations: 59.41 kB / 1.096 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005046/0.4052, allocations: 454.8 kB / 1.096 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.4053, allocations: 29.7 kB / 1.096 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/0.4055, allocations: 387 kB / 1.097 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.4057, allocations: 161.7 kB / 1.097 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/0.4059, allocations: 110.2 kB / 1.097 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.406, allocations: 362.8 kB / 1.097 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003607/0.4064, allocations: 245.2 kB / 1.098 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004731/0.4069, allocations: 465 kB / 1.098 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009062/0.4078, allocations: 0.7519 MB / 1.099 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.4078, allocations: 4 kB / 1.099 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001869/0.4097, allocations: 1.058 MB / 1.1 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/0.4097, allocations: 13.56 kB / 1.1 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.4097, allocations: 8 kB / 1.1 GB, free: 8.652 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.4108, allocations: 331 kB / 1.1 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.4111, allocations: 99.83 kB / 1.1 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006741/0.4179, allocations: 6.95 MB / 1.107 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005404/0.4185, allocations: 36.02 kB / 1.107 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.166e-05/0.4185, allocations: 24 kB / 1.107 GB, free: 0.668 MB / 0.8575 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004023/0.4189, allocations: 252.5 kB / 1.107 GB, free: 424 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-05/0.419, allocations: 55.34 kB / 1.107 GB, free: 368 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001766/0.4208, allocations: 0.9243 MB / 1.108 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.4208, allocations: 4 kB / 1.108 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.4208, allocations: 4 kB / 1.108 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.4208, allocations: 0 / 1.108 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002762/0.4236, allocations: 1.706 MB / 1.11 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.4236, allocations: 8 kB / 1.11 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.4238, allocations: 40.16 kB / 1.11 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009708/0.4248, allocations: 327.2 kB / 1.11 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.4248, allocations: 12 kB / 1.11 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007043/0.4319, allocations: 6.935 MB / 1.117 GB, free: 5.754 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.4319, allocations: 0 / 1.117 GB, free: 5.754 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001878/0.4338, allocations: 1.011 MB / 1.118 GB, free: 4.695 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003236/0.4342, allocations: 176.4 kB / 1.118 GB, free: 4.504 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.809e-05/0.4343, allocations: 8 kB / 1.118 GB, free: 4.496 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003124/0.4346, allocations: 23.97 kB / 1.118 GB, free: 4.473 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.4347, allocations: 43.89 kB / 1.118 GB, free: 4.43 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.072e-05/0.4347, allocations: 15.94 kB / 1.118 GB, free: 4.414 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003738/0.4351, allocations: 306.9 kB / 1.119 GB, free: 4.117 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4351, allocations: 0 / 1.119 GB, free: 4.117 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008708/0.436, allocations: 200 kB / 1.119 GB, free: 3.922 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001802/0.4362, allocations: 107.2 kB / 1.119 GB, free: 3.805 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002003/0.4382, allocations: 1.202 MB / 1.12 GB, free: 2.551 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.4382, allocations: 0 / 1.12 GB, free: 2.551 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.4395, allocations: 0.8582 MB / 1.121 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.4405, allocations: 186.3 kB / 1.121 GB, free: 1.461 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/0.4433, allocations: 1.54 MB / 1.123 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007507/0.4441, allocations: 0.9921 MB / 1.124 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003756/0.4445, allocations: 93.19 kB / 1.124 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.644e-05/0.4446, allocations: 35.44 kB / 1.124 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of SimCode: time 7.81e-07/0.4446, allocations: 0 / 1.124 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of Templates: time 0.01841/0.463, allocations: 9.626 MB / 1.133 GB, free: 5.207 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches