Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,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_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,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_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001196, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001336/0.001336, allocations: 194 kB / 16.14 MB, free: 6.648 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.469/1.469, 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 10.1.1-maint.10.0.x/package.mo): time 2.612/2.612, allocations: 437 MB / 0.7099 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.89 kB / 0.8686 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8392/0.8405, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01883/0.8594, allocations: 14.71 MB / 1.031 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01624/0.8757, allocations: 10.35 MB / 1.041 GB, free: 9.637 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00176/0.8775, allocations: 51.62 kB / 1.041 GB, free: 9.586 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.004346/0.8818, allocations: 1.57 MB / 1.043 GB, free: 8.016 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005952/0.8878, allocations: 1.614 MB / 1.044 GB, free: 6.402 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002465/0.8903, allocations: 0.6914 MB / 1.045 GB, free: 5.711 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005337/0.8956, allocations: 3.405 MB / 1.048 GB, free: 2.293 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002566/0.8982, allocations: 1.364 MB / 1.05 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002159/0.9004, allocations: 1.383 MB / 1.051 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00173/0.9022, allocations: 1.171 MB / 1.052 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0003/0.9025, allocations: 96 kB / 1.052 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001763/0.9042, allocations: 0.8812 MB / 1.053 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0006079/0.9049, allocations: 0.5451 MB / 1.054 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0009777/0.9058, allocations: 0.8897 MB / 1.054 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002617/0.9085, allocations: 2.729 MB / 1.057 GB, free: 9.176 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.9085, allocations: 0 / 1.057 GB, free: 9.176 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.002e-06/0.9085, allocations: 0 / 1.057 GB, free: 9.176 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.606e-05/0.9085, allocations: 0 / 1.057 GB, free: 9.176 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003593/0.9121, allocations: 2.17 MB / 1.059 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.9122, allocations: 15.98 kB / 1.059 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01093/0.9231, allocations: 2.108 MB / 1.061 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002555/0.9257, allocations: 1.213 MB / 1.062 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.987e-05/0.9258, allocations: 86.69 kB / 1.063 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00023/0.926, allocations: 128 kB / 1.063 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005383/0.9314, allocations: 2.666 MB / 1.065 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.651e-05/0.9315, allocations: 19.78 kB / 1.065 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001657/0.9316, allocations: 59.97 kB / 1.065 GB, free: 456 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005966/0.9323, allocations: 190.1 kB / 1.066 GB, free: 264 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006911/0.9392, allocations: 2.791 MB / 1.068 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0141/0.9533, allocations: 10.5 MB / 1.079 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005895/0.9592, allocations: 2.34 MB / 1.081 GB, free: 12 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002905/0.9622, allocations: 1.276 MB / 1.082 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.779e-05/0.9623, allocations: 13 kB / 1.082 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.9623, allocations: 47.55 kB / 1.082 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=89): time 2.635e-06/0.9623, allocations: 0 / 1.082 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=153): time 0.06146/1.024, allocations: 16.48 MB / 1.098 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/1.024, allocations: 68.72 kB / 1.098 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001814/1.026, allocations: 1.172 MB / 1.099 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002763/1.026, allocations: 53.7 kB / 1.099 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000608/1.027, allocations: 0.7397 MB / 1.1 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006673/1.027, allocations: 0.5081 MB / 1.101 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007321/1.028, allocations: 287.4 kB / 1.101 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001043/1.028, allocations: 309.1 kB / 1.101 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003552/1.032, allocations: 1.51 MB / 1.103 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003789/1.036, allocations: 1.78 MB / 1.104 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007427/1.043, allocations: 3.373 MB / 1.108 GB, free: 4 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/1.043, allocations: 4 kB / 1.108 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01424/1.057, allocations: 5.265 MB / 1.113 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/1.057, allocations: 8.125 kB / 1.113 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/1.057, allocations: 12 kB / 1.113 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007366/1.065, allocations: 1.883 MB / 1.115 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002032/1.067, allocations: 419.2 kB / 1.115 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02957/1.096, allocations: 22.18 MB / 1.137 GB, free: 5.105 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002739/1.099, allocations: 303.5 kB / 1.137 GB, free: 4.809 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003985/1.1, allocations: 67.91 kB / 1.137 GB, free: 4.742 MB / 0.8887 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,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001221/1.101, allocations: 472 kB / 1.138 GB, free: 4.273 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005511/1.101, allocations: 173.9 kB / 1.138 GB, free: 4.102 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01356/1.115, allocations: 5.32 MB / 1.143 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-05/1.115, allocations: 19.98 kB / 1.143 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.655e-05/1.115, allocations: 16 kB / 1.143 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.811e-05/1.115, allocations: 3.984 kB / 1.143 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01723/1.132, allocations: 7.426 MB / 1.15 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/1.132, allocations: 352 / 1.15 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001627/1.134, allocations: 351.4 kB / 1.151 GB, free: 6.801 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006465/1.141, allocations: 1.705 MB / 1.152 GB, free: 5.074 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002405/1.141, allocations: 43.91 kB / 1.152 GB, free: 5.031 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02818/1.169, allocations: 21.35 MB / 1.173 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/1.169, allocations: 4 kB / 1.173 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01272/1.182, allocations: 4.889 MB / 1.178 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/1.183, allocations: 498.6 kB / 1.178 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004811/1.183, allocations: 31.98 kB / 1.178 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002194/1.186, allocations: 319.5 kB / 1.179 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005951/1.186, allocations: 149 kB / 1.179 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001659/1.186, allocations: 55.97 kB / 1.179 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001383/1.188, allocations: 0.7899 MB / 1.18 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.71e-07/1.188, allocations: 4 kB / 1.18 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00269/1.191, allocations: 0.6562 MB / 1.18 GB, free: 7.133 MB / 0.9356 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,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004165/1.191, allocations: 153.8 kB / 1.181 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01166/1.203, allocations: 5.128 MB / 1.186 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/1.203, allocations: 0 / 1.186 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.007196/1.21, allocations: 3.355 MB / 1.189 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002973/1.213, allocations: 0.5292 MB / 1.189 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/1.223, allocations: 4.984 MB / 1.194 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00165/1.225, allocations: 1.568 MB / 1.196 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001903/1.227, allocations: 386.4 kB / 1.196 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004692/1.227, allocations: 111.4 kB / 1.196 GB, free: 6.629 MB / 0.9512 GB Notification: Performance of SimCode: time 7.31e-07/1.227, allocations: 3.938 kB / 1.196 GB, free: 6.625 MB / 0.9512 GB Notification: Performance of Templates: time 0.07017/1.297, allocations: 43.32 MB / 1.238 GB, free: 11.76 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches