Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 107.9 kB / 16.39 MB, free: 6.438 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.001816/0.001816, allocations: 189.5 kB / 17.32 MB, free: 5.742 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.512/1.512, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.633/2.633, allocations: 442.7 MB / 0.7167 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 60.05 kB / 1.027 GB, free: 1.469 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.099/1.101, allocations: 153 MB / 1.177 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02551/1.127, allocations: 20.26 MB / 1.197 GB, free: 6.422 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01333/1.14, allocations: 6.437 MB / 1.203 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002615/1.143, allocations: 91.47 kB / 1.203 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.006434/1.149, allocations: 2.235 MB / 1.205 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004373/1.154, allocations: 1.181 MB / 1.206 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004009/1.158, allocations: 1.29 MB / 1.208 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.006622/1.164, allocations: 4.862 MB / 1.212 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008416/1.173, allocations: 5.587 MB / 1.218 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004014/1.177, allocations: 2.084 MB / 1.22 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004375/1.181, allocations: 2.344 MB / 1.222 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.001479/1.183, allocations: 436 kB / 1.222 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003304/1.186, allocations: 1.003 MB / 1.223 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.003059/1.189, allocations: 1.661 MB / 1.225 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.006072/1.195, allocations: 1.906 MB / 1.227 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01134/1.207, allocations: 6.522 MB / 1.233 GB, free: 0.6523 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.073e-05/1.207, allocations: 0 / 1.233 GB, free: 0.6523 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.315e-06/1.207, allocations: 4 kB / 1.233 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0002667/1.207, allocations: 0 / 1.233 GB, free: 0.6484 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.0121/1.219, allocations: 3.46 MB / 1.237 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/1.219, allocations: 8.031 kB / 1.237 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00415/1.223, allocations: 0.6371 MB / 1.237 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003893/1.227, allocations: 2.045 MB / 1.239 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/1.227, allocations: 218.3 kB / 1.24 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004911/1.228, allocations: 296.2 kB / 1.24 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008132/1.236, allocations: 4.89 MB / 1.245 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.62e-05/1.236, allocations: 19.84 kB / 1.245 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000305/1.236, allocations: 124 kB / 1.245 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004466/1.237, allocations: 233.7 kB / 1.245 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006161/1.243, allocations: 3.746 MB / 1.249 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02377/1.267, allocations: 21.4 MB / 1.269 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/1.269, allocations: 1.3 MB / 1.271 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001455/1.27, allocations: 1.05 MB / 1.272 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.426e-05/1.27, allocations: 24.98 kB / 1.272 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.76e-05/1.27, allocations: 43.56 kB / 1.272 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=107): time 5.04e-06/1.27, allocations: 0 / 1.272 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of matching and sorting (n=138): time 0.02517/1.295, allocations: 8.66 MB / 1.28 GB, free: 14.09 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/1.296, allocations: 64.72 kB / 1.28 GB, free: 14.01 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/1.297, allocations: 1.138 MB / 1.281 GB, free: 12.87 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001188/1.297, allocations: 49.7 kB / 1.282 GB, free: 12.81 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008968/1.298, allocations: 1.3 MB / 1.283 GB, free: 11.5 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004168/1.299, allocations: 481.1 kB / 1.283 GB, free: 11.02 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004694/1.299, allocations: 291.3 kB / 1.284 GB, free: 10.73 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001087/1.299, allocations: 305.1 kB / 1.284 GB, free: 10.43 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/1.3, allocations: 0.9135 MB / 1.285 GB, free: 9.516 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/1.302, allocations: 1.318 MB / 1.286 GB, free: 8.027 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002908/1.305, allocations: 2.433 MB / 1.288 GB, free: 5.426 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/1.305, allocations: 4 kB / 1.288 GB, free: 5.422 MB / 1.014 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005814/1.311, allocations: 3.468 MB / 1.292 GB, free: 1.934 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/1.311, allocations: 11.94 kB / 1.292 GB, free: 1.922 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/1.311, allocations: 12 kB / 1.292 GB, free: 1.91 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003087/1.314, allocations: 1.182 MB / 1.293 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008997/1.315, allocations: 259.5 kB / 1.293 GB, free: 480 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01684/1.332, allocations: 13.84 MB / 1.307 GB, free: 2.207 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/1.333, allocations: 91.97 kB / 1.307 GB, free: 2.117 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/1.333, allocations: 68 kB / 1.307 GB, free: 2.051 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001819/1.335, allocations: 1.106 MB / 1.308 GB, free: 0.9336 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002734/1.335, allocations: 162.1 kB / 1.308 GB, free: 0.7734 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005618/1.341, allocations: 3.173 MB / 1.311 GB, free: 13.57 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.787e-05/1.341, allocations: 7.969 kB / 1.311 GB, free: 13.57 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/1.341, allocations: 0 / 1.311 GB, free: 13.57 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007716/1.342, allocations: 430.9 kB / 1.312 GB, free: 13.12 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001992/1.342, allocations: 20 kB / 1.312 GB, free: 13.11 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007902/1.343, allocations: 75.91 kB / 1.312 GB, free: 13.03 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002749/1.343, allocations: 141 kB / 1.312 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007348/1.35, allocations: 3.5 MB / 1.315 GB, free: 9.379 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004645/1.355, allocations: 3.331 MB / 1.319 GB, free: 6.027 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001298/1.356, allocations: 1.033 MB / 1.32 GB, free: 4.996 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001124/1.357, allocations: 0.7593 MB / 1.32 GB, free: 4.234 MB / 1.045 GB Notification: Performance of Backend: time 2.284e-06/1.357, allocations: 0 / 1.32 GB, free: 4.234 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00535/1.363, allocations: 2.747 MB / 1.323 GB, free: 1.445 MB / 1.045 GB Notification: Performance of SimCode: time 0.009075/1.372, allocations: 5.985 MB / 1.329 GB, free: 11.43 MB / 1.061 GB Notification: Performance of Templates: time 0.05943/1.431, allocations: 35.85 MB / 1.364 GB, free: 8 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches