Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 114.9 kB / 16.42 MB, free: 6.473 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.001225/0.001225, allocations: 187.9 kB / 17.35 MB, free: 5.711 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.298/1.298, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.615/2.615, allocations: 472.7 MB / 0.746 GB, free: 420 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 67.89 kB / 1.07 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7893/0.7907, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01128/0.8021, allocations: 10.02 MB / 1.236 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005718/0.8078, allocations: 3.049 MB / 1.239 GB, free: 380 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005608/0.8084, allocations: 39.81 kB / 1.239 GB, free: 340 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001797/0.8102, allocations: 0.6878 MB / 1.24 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0015/0.8117, allocations: 0.7196 MB / 1.241 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.8131, allocations: 0.6394 MB / 1.241 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00267/0.8157, allocations: 2.75 MB / 1.244 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002631/0.8184, allocations: 2.527 MB / 1.246 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/0.8199, allocations: 1.141 MB / 1.247 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001817/0.8218, allocations: 1.387 MB / 1.249 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003121/0.8221, allocations: 216 kB / 1.249 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009173/0.823, allocations: 487.4 kB / 1.249 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0008419/0.8239, allocations: 0.9863 MB / 1.25 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0009561/0.8248, allocations: 1.015 MB / 1.251 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003084/0.8279, allocations: 3.416 MB / 1.255 GB, free: 316 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.8279, allocations: 0 / 1.255 GB, free: 316 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8279, allocations: 3.938 kB / 1.255 GB, free: 312 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.073e-05/0.828, allocations: 0 / 1.255 GB, free: 312 kB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003405/0.8314, allocations: 1.984 MB / 1.257 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.8315, allocations: 8.031 kB / 1.257 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005339/0.8368, allocations: 0.897 MB / 1.258 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002368/0.8392, allocations: 1.169 MB / 1.259 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.811e-05/0.8393, allocations: 111.3 kB / 1.259 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000305/0.8396, allocations: 140.3 kB / 1.259 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004486/0.8441, allocations: 3.021 MB / 1.262 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.305e-05/0.8442, allocations: 7.938 kB / 1.262 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000183/0.8443, allocations: 71.91 kB / 1.262 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002192/0.8446, allocations: 179 kB / 1.262 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003831/0.8484, allocations: 2.6 MB / 1.265 GB, free: 5.914 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0148/0.8632, allocations: 13.5 MB / 1.278 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.8651, allocations: 1.296 MB / 1.279 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001341/0.8664, allocations: 1.047 MB / 1.28 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.332e-05/0.8665, allocations: 8.656 kB / 1.28 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.8666, allocations: 43.22 kB / 1.28 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 3.427e-06/0.8666, allocations: 0 / 1.28 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of matching and sorting (n=139): time 0.06722/0.9338, allocations: 19.42 MB / 1.299 GB, free: 1.34 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.9339, allocations: 68.72 kB / 1.299 GB, free: 1.258 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/0.9354, allocations: 0.9145 MB / 1.3 GB, free: 340 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001929/0.9356, allocations: 49.7 kB / 1.3 GB, free: 284 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005622/0.9361, allocations: 0.7462 MB / 1.301 GB, free: 15.52 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005247/0.9367, allocations: 0.4996 MB / 1.301 GB, free: 15.02 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005821/0.9373, allocations: 295.5 kB / 1.302 GB, free: 14.72 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.9374, allocations: 353.9 kB / 1.302 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001875/0.9393, allocations: 1.339 MB / 1.303 GB, free: 13.03 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002136/0.9415, allocations: 1.659 MB / 1.305 GB, free: 11.26 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004237/0.9457, allocations: 3.092 MB / 1.308 GB, free: 8.047 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/0.9457, allocations: 4 kB / 1.308 GB, free: 8.043 MB / 1.029 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01213/0.9579, allocations: 5.635 MB / 1.313 GB, free: 2.383 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/0.9579, allocations: 8 kB / 1.313 GB, free: 2.375 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/0.958, allocations: 12 kB / 1.313 GB, free: 2.363 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008686/0.9667, allocations: 2.723 MB / 1.316 GB, free: 15.63 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008313/0.9675, allocations: 199.6 kB / 1.316 GB, free: 15.43 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03565/1.003, allocations: 25.73 MB / 1.341 GB, free: 5.145 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/1.005, allocations: 95.94 kB / 1.342 GB, free: 5.051 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002541/1.005, allocations: 56 kB / 1.342 GB, free: 4.996 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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 {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001299/1.006, allocations: 0.7437 MB / 1.342 GB, free: 4.242 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003068/1.007, allocations: 123.2 kB / 1.342 GB, free: 4.121 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01126/1.018, allocations: 5.392 MB / 1.348 GB, free: 14.7 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.626e-05/1.018, allocations: 3.984 kB / 1.348 GB, free: 14.69 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/1.018, allocations: 0 / 1.348 GB, free: 14.69 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009987/1.019, allocations: 0.4884 MB / 1.348 GB, free: 14.18 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003013/1.019, allocations: 20 kB / 1.348 GB, free: 14.16 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/1.02, allocations: 75.91 kB / 1.348 GB, free: 14.09 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006233/1.021, allocations: 200.9 kB / 1.348 GB, free: 13.89 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01185/1.033, allocations: 5.264 MB / 1.354 GB, free: 8.609 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00616/1.039, allocations: 4.495 MB / 1.358 GB, free: 4.098 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001784/1.041, allocations: 1.439 MB / 1.359 GB, free: 2.656 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001055/1.042, allocations: 0.6434 MB / 1.36 GB, free: 2.016 MB / 1.076 GB Notification: Performance of Backend: time 5.41e-07/1.042, allocations: 0 / 1.36 GB, free: 2.016 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.007138/1.049, allocations: 3.263 MB / 1.363 GB, free: 14.69 MB / 1.092 GB Notification: Performance of SimCode: time 0.007158/1.056, allocations: 4.417 MB / 1.368 GB, free: 10.23 MB / 1.092 GB Notification: Performance of Templates: time 0.06167/1.118, allocations: 37.88 MB / 1.405 GB, free: 4.512 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches