Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.307/2.307, allocations: 390.5 MB / 398 MB, free: 10.94 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 180.8 kB / 491.2 MB, free: 1.566 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.692/1.692, allocations: 221.5 MB / 0.7868 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 91.94 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.701e-05/1.703e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3142, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.056/1.37, allocations: 171.7 MB / 1.38 GB, free: 17.52 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/1.37, allocations: 98.03 kB / 1.38 GB, free: 17.52 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08445/1.455, allocations: 39.82 MB / 1.419 GB, free: 9.363 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.743e-06/1.455, allocations: 4 kB / 1.419 GB, free: 9.359 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.876e-05/1.455, allocations: 27.94 kB / 1.419 GB, free: 9.332 MB / 0.8386 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.002293/1.457, allocations: 0.9523 MB / 1.42 GB, free: 8.395 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/1.457, allocations: 12.03 kB / 1.42 GB, free: 8.383 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001772/1.459, allocations: 238.6 kB / 1.42 GB, free: 8.148 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/1.46, allocations: 0.5298 MB / 1.421 GB, free: 7.652 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.558e-05/1.46, allocations: 24 kB / 1.421 GB, free: 7.629 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/1.46, allocations: 40 kB / 1.421 GB, free: 7.59 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001083/1.461, allocations: 0.5998 MB / 1.421 GB, free: 7.199 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/1.463, allocations: 1.016 MB / 1.422 GB, free: 6.254 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/1.463, allocations: 7.938 kB / 1.422 GB, free: 6.246 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.234e-05/1.463, allocations: 4 kB / 1.422 GB, free: 6.242 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-05/1.463, allocations: 55.47 kB / 1.422 GB, free: 6.195 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005629/1.469, allocations: 5.763 MB / 1.428 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008712/1.47, allocations: 0.5196 MB / 1.429 GB, free: 248 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003702/1.47, allocations: 309.2 kB / 1.429 GB, free: 52 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.575e-05/1.47, allocations: 8.375 kB / 1.429 GB, free: 44 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/1.47, allocations: 42.25 kB / 1.429 GB, free: 0 / 0.8386 GB Notification: Performance of pre-optimization done (n=47): time 1.843e-06/1.47, allocations: 0 / 1.429 GB, free: 0 / 0.8386 GB Notification: Performance of matching and sorting (n=48): time 0.002235/1.472, allocations: 1.16 MB / 1.43 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/1.472, allocations: 55.84 kB / 1.43 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004864/1.473, allocations: 393.8 kB / 1.43 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.207e-05/1.473, allocations: 29.7 kB / 1.431 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002527/1.473, allocations: 410.7 kB / 1.431 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/1.473, allocations: 157.2 kB / 1.431 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/1.473, allocations: 4 kB / 1.431 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001472/1.474, allocations: 367.7 kB / 1.431 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003404/1.474, allocations: 250 kB / 1.432 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004562/1.474, allocations: 443.7 kB / 1.432 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004351/1.475, allocations: 316 kB / 1.432 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/1.475, allocations: 4 kB / 1.432 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001631/1.476, allocations: 0.9608 MB / 1.433 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/1.476, allocations: 13.56 kB / 1.433 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/1.476, allocations: 8 kB / 1.433 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000803/1.477, allocations: 277.8 kB / 1.434 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000459/1.478, allocations: 115 kB / 1.434 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006207/1.484, allocations: 6.323 MB / 1.44 GB, free: 5.824 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007154/1.485, allocations: 31.89 kB / 1.44 GB, free: 5.793 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-05/1.485, allocations: 23.44 kB / 1.44 GB, free: 5.773 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002051/1.485, allocations: 128.5 kB / 1.44 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/1.485, allocations: 63.25 kB / 1.44 GB, free: 5.582 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/1.487, allocations: 0.8215 MB / 1.441 GB, free: 4.977 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/1.487, allocations: 11.92 kB / 1.441 GB, free: 4.965 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/1.487, allocations: 4 kB / 1.441 GB, free: 4.961 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/1.487, allocations: 3.953 kB / 1.441 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002848/1.49, allocations: 1.57 MB / 1.442 GB, free: 3.703 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/1.49, allocations: 0 / 1.442 GB, free: 3.703 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003358/1.49, allocations: 63.88 kB / 1.443 GB, free: 3.641 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009484/1.491, allocations: 256 kB / 1.443 GB, free: 3.426 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.212e-05/1.491, allocations: 4 kB / 1.443 GB, free: 3.422 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006583/1.498, allocations: 6.314 MB / 1.449 GB, free: 13.26 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/1.498, allocations: 4.031 kB / 1.449 GB, free: 13.26 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/1.499, allocations: 0.9921 MB / 1.45 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003832/1.5, allocations: 186.2 kB / 1.45 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/1.5, allocations: 0 / 1.45 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003996/1.5, allocations: 19.97 kB / 1.45 GB, free: 12.19 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.154e-05/1.5, allocations: 51.52 kB / 1.45 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.45e-05/1.5, allocations: 12 kB / 1.45 GB, free: 12.13 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003731/1.501, allocations: 299.7 kB / 1.45 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.5e-07/1.501, allocations: 0 / 1.45 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009546/1.502, allocations: 207.9 kB / 1.451 GB, free: 11.71 MB / 0.8698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002221/1.502, allocations: 107.2 kB / 1.451 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001941/1.504, allocations: 1.176 MB / 1.452 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/1.504, allocations: 0 / 1.452 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001183/1.505, allocations: 0.8378 MB / 1.453 GB, free: 9.852 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008477/1.506, allocations: 162.5 kB / 1.453 GB, free: 9.727 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/1.508, allocations: 0.9492 MB / 1.454 GB, free: 8.84 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007454/1.509, allocations: 1.028 MB / 1.455 GB, free: 7.809 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000433/1.509, allocations: 117.4 kB / 1.455 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/1.509, allocations: 35.44 kB / 1.455 GB, free: 7.656 MB / 0.8698 GB Notification: Performance of SimCode: time 5.31e-07/1.509, allocations: 3.938 kB / 1.455 GB, free: 7.652 MB / 0.8698 GB Notification: Performance of Templates: time 0.01767/1.527, allocations: 9.29 MB / 1.464 GB, free: 14.49 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches