Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.OnePhase.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.008817/0.008817, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.518/1.518, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.095/3.095, allocations: 470.6 MB / 0.7442 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000368/0.0003678, allocations: 10.12 kB / 0.9123 GB, free: 34.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3583, allocations: 161.4 MB / 1.07 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008257/0.3666, allocations: 6.314 MB / 1.076 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005637/0.3723, allocations: 3.001 MB / 1.079 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004573/0.3728, allocations: 19.88 kB / 1.079 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003928/0.3732, allocations: 142.8 kB / 1.079 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001112/0.3743, allocations: 473.7 kB / 1.08 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009819/0.3753, allocations: 384.9 kB / 1.08 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001716/0.377, allocations: 1.591 MB / 1.082 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001963/0.379, allocations: 1.005 MB / 1.083 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007434/0.3798, allocations: 394.3 kB / 1.083 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000734/0.3805, allocations: 498 kB / 1.083 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.42e-05/0.3806, allocations: 36 kB / 1.083 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009055/0.3815, allocations: 447 kB / 1.084 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003208/0.3818, allocations: 271.2 kB / 1.084 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004647/0.3823, allocations: 431.5 kB / 1.084 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.3836, allocations: 1.184 MB / 1.086 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3837, allocations: 0 / 1.086 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3837, allocations: 0 / 1.086 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.388e-05/0.3837, allocations: 4 kB / 1.086 GB, free: 11.19 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001812/0.3855, allocations: 1.001 MB / 1.087 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.3856, allocations: 12.02 kB / 1.087 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001568/0.3871, allocations: 239.5 kB / 1.087 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008518/0.388, allocations: 0.5414 MB / 1.087 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.891e-05/0.3881, allocations: 57.67 kB / 1.087 GB, free: 9.25 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.3882, allocations: 60.36 kB / 1.088 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.3898, allocations: 1.089 MB / 1.089 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.3899, allocations: 0 / 1.089 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.525e-05/0.39, allocations: 35.98 kB / 1.089 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001618/0.3901, allocations: 89.19 kB / 1.089 GB, free: 7.867 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.3914, allocations: 0.7504 MB / 1.089 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006032/0.3974, allocations: 5.893 MB / 1.095 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.3985, allocations: 0.5523 MB / 1.096 GB, free: 244 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004939/0.399, allocations: 330.9 kB / 1.096 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.242e-05/0.3991, allocations: 4.438 kB / 1.096 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.3991, allocations: 35 kB / 1.096 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=47): time 2.144e-06/0.3991, allocations: 4 kB / 1.096 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of matching and sorting (n=48): time 0.004238/0.4034, allocations: 1.998 MB / 1.098 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.4035, allocations: 59.84 kB / 1.098 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007023/0.4042, allocations: 0.5624 MB / 1.099 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.244e-05/0.4042, allocations: 33.7 kB / 1.099 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003505/0.4046, allocations: 414.9 kB / 1.099 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.4047, allocations: 173.6 kB / 1.099 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.928e-05/0.4048, allocations: 57.69 kB / 1.099 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000214/0.4051, allocations: 378.7 kB / 1.1 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004394/0.4055, allocations: 277.8 kB / 1.1 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000655/0.4062, allocations: 497 kB / 1.1 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.4073, allocations: 0.8054 MB / 1.101 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.4073, allocations: 4 kB / 1.101 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001946/0.4093, allocations: 1.087 MB / 1.102 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.4093, allocations: 8 kB / 1.102 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.4093, allocations: 4 kB / 1.102 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009193/0.4103, allocations: 279.4 kB / 1.103 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004887/0.4108, allocations: 131.7 kB / 1.103 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00732/0.4181, allocations: 6.61 MB / 1.109 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006998/0.4188, allocations: 39.97 kB / 1.109 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-05/0.4189, allocations: 24 kB / 1.109 GB, free: 1.559 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 (67): * Single equations (assignments): 63 * 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 {(2,6,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.000466/0.4194, allocations: 261.5 kB / 1.109 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.4195, allocations: 71.16 kB / 1.109 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001758/0.4213, allocations: 0.8924 MB / 1.11 GB, free: 320 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.4213, allocations: 4 kB / 1.11 GB, free: 316 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.4213, allocations: 7.938 kB / 1.11 GB, free: 308 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.4213, allocations: 3.984 kB / 1.11 GB, free: 304 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002893/0.4242, allocations: 1.717 MB / 1.112 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.4242, allocations: 7.938 kB / 1.112 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/0.4245, allocations: 59.89 kB / 1.112 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007965/0.4253, allocations: 267.4 kB / 1.112 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.421e-05/0.4254, allocations: 8 kB / 1.112 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007194/0.4326, allocations: 6.595 MB / 1.119 GB, free: 7.016 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.4326, allocations: 4.422 kB / 1.119 GB, free: 7.012 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.4344, allocations: 0.9757 MB / 1.12 GB, free: 5.992 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003734/0.4348, allocations: 196.2 kB / 1.12 GB, free: 5.781 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.4349, allocations: 19.88 kB / 1.12 GB, free: 5.762 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004048/0.4353, allocations: 27.97 kB / 1.12 GB, free: 5.734 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.4355, allocations: 43.94 kB / 1.12 GB, free: 5.691 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.746e-05/0.4355, allocations: 16 kB / 1.12 GB, free: 5.676 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005077/0.436, allocations: 379.1 kB / 1.12 GB, free: 5.309 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/0.436, allocations: 0 / 1.12 GB, free: 5.309 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000884/0.4369, allocations: 224 kB / 1.121 GB, free: 5.09 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001856/0.4371, allocations: 127.1 kB / 1.121 GB, free: 4.953 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002254/0.4394, allocations: 1.268 MB / 1.122 GB, free: 3.633 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.4394, allocations: 0 / 1.122 GB, free: 3.633 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.00142/0.4408, allocations: 0.8894 MB / 1.123 GB, free: 2.691 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/0.4422, allocations: 204.1 kB / 1.123 GB, free: 2.496 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/0.4451, allocations: 1.661 MB / 1.125 GB, free: 0.7812 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008308/0.446, allocations: 1.005 MB / 1.126 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004908/0.4465, allocations: 126 kB / 1.126 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.4466, allocations: 39.44 kB / 1.126 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of SimCode: time 4.51e-07/0.4466, allocations: 0 / 1.126 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of Templates: time 0.02214/0.4688, allocations: 10.6 MB / 1.136 GB, free: 5.105 MB / 0.8887 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches