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/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_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/Buildings 10.0.0-master/package.mo): time 2.332/2.332, allocations: 390.5 MB / 398 MB, free: 10.95 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.001151/0.001151, allocations: 184.1 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.654/1.654, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.0009191/0.000919, allocations: 87.97 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.874e-05/1.874e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3177, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.096/1.414, allocations: 172.9 MB / 1.381 GB, free: 17.39 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/1.414, allocations: 86.11 kB / 1.381 GB, free: 17.39 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08611/1.5, allocations: 40.06 MB / 1.42 GB, free: 8.359 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.332e-06/1.5, allocations: 0 / 1.42 GB, free: 8.359 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.141e-05/1.501, allocations: 31.45 kB / 1.42 GB, free: 8.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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002133/1.503, allocations: 0.8572 MB / 1.421 GB, free: 7.484 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/1.503, allocations: 8.031 kB / 1.421 GB, free: 7.477 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001917/1.505, allocations: 222 kB / 1.421 GB, free: 7.262 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/1.506, allocations: 0.5274 MB / 1.422 GB, free: 6.758 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.648e-05/1.506, allocations: 20 kB / 1.422 GB, free: 6.738 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/1.506, allocations: 43.23 kB / 1.422 GB, free: 6.699 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009922/1.507, allocations: 0.5402 MB / 1.423 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/1.509, allocations: 0.9955 MB / 1.424 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.123e-05/1.509, allocations: 7.906 kB / 1.424 GB, free: 5.414 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-05/1.509, allocations: 4 kB / 1.424 GB, free: 5.41 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/1.509, allocations: 56.59 kB / 1.424 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005552/1.515, allocations: 5.642 MB / 1.429 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007863/1.515, allocations: 0.5732 MB / 1.43 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006094/1.516, allocations: 382 kB / 1.43 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/1.516, allocations: 4.688 kB / 1.43 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/1.516, allocations: 42.19 kB / 1.43 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=41): time 4.428e-06/1.516, allocations: 3.984 kB / 1.43 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of matching and sorting (n=42): time 0.002209/1.518, allocations: 1.15 MB / 1.431 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/1.518, allocations: 55.41 kB / 1.431 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003642/1.519, allocations: 326.7 kB / 1.432 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/1.519, allocations: 25.7 kB / 1.432 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/1.519, allocations: 385.1 kB / 1.432 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/1.519, allocations: 148.3 kB / 1.432 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-05/1.519, allocations: 0 / 1.432 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001424/1.519, allocations: 355.7 kB / 1.432 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002924/1.52, allocations: 220.3 kB / 1.433 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003943/1.52, allocations: 408.7 kB / 1.433 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003803/1.52, allocations: 291.3 kB / 1.433 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/1.521, allocations: 0 / 1.433 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001637/1.522, allocations: 0.9399 MB / 1.434 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/1.522, allocations: 7.938 kB / 1.434 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/1.522, allocations: 11.95 kB / 1.434 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009378/1.523, allocations: 314.5 kB / 1.435 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003017/1.523, allocations: 83.83 kB / 1.435 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0066/1.53, allocations: 6.824 MB / 1.441 GB, free: 4.641 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004408/1.531, allocations: 19.97 kB / 1.441 GB, free: 4.621 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.192e-05/1.531, allocations: 26.62 kB / 1.441 GB, free: 4.602 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 (49): * Single equations (assignments): 45 * 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%) 8,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001551/1.531, allocations: 121.2 kB / 1.441 GB, free: 4.477 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/1.531, allocations: 51.38 kB / 1.442 GB, free: 4.426 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/1.532, allocations: 0.8559 MB / 1.442 GB, free: 3.789 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.862e-06/1.533, allocations: 4 kB / 1.442 GB, free: 3.785 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.32e-05/1.533, allocations: 4 kB / 1.442 GB, free: 3.781 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/1.533, allocations: 3.984 kB / 1.442 GB, free: 3.777 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002721/1.535, allocations: 1.71 MB / 1.444 GB, free: 2.355 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/1.535, allocations: 0 / 1.444 GB, free: 2.355 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/1.535, allocations: 43.91 kB / 1.444 GB, free: 2.312 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008095/1.536, allocations: 282.4 kB / 1.444 GB, free: 2.074 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/1.536, allocations: 0 / 1.444 GB, free: 2.074 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006602/1.543, allocations: 6.558 MB / 1.451 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/1.543, allocations: 3.938 kB / 1.451 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/1.545, allocations: 0.9677 MB / 1.452 GB, free: 10.81 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003256/1.545, allocations: 164 kB / 1.452 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.73e-05/1.545, allocations: 4 kB / 1.452 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002677/1.545, allocations: 15.97 kB / 1.452 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.894e-05/1.545, allocations: 38.52 kB / 1.452 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/1.546, allocations: 18.95 kB / 1.452 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003085/1.546, allocations: 248.5 kB / 1.452 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.546, allocations: 3.938 kB / 1.452 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001072/1.547, allocations: 179.9 kB / 1.452 GB, free: 10.21 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 (25): * Single equations (assignments): 21 * 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 {(1,100.0%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002589/1.547, allocations: 110 kB / 1.452 GB, free: 10.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001939/1.549, allocations: 1.091 MB / 1.454 GB, free: 9.176 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/1.549, allocations: 0 / 1.454 GB, free: 9.176 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001152/1.55, allocations: 0.7755 MB / 1.454 GB, free: 8.473 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008788/1.551, allocations: 153.9 kB / 1.454 GB, free: 8.352 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/1.553, allocations: 0.8711 MB / 1.455 GB, free: 7.539 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007423/1.554, allocations: 1.004 MB / 1.456 GB, free: 6.527 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003321/1.554, allocations: 96.89 kB / 1.456 GB, free: 6.434 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.642e-05/1.554, allocations: 35.44 kB / 1.456 GB, free: 6.398 MB / 0.8698 GB Notification: Performance of SimCode: time 3.41e-07/1.554, allocations: 0 / 1.456 GB, free: 6.398 MB / 0.8698 GB Notification: Performance of Templates: time 0.01608/1.57, allocations: 8.111 MB / 1.464 GB, free: 14.39 MB / 0.8855 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","../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches