Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 106.3 kB / 15.98 MB, free: 6.355 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.001855/0.001855, allocations: 199 kB / 16.91 MB, free: 6.188 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.675/1.675, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.681/2.681, allocations: 469.4 MB / 0.7423 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.00149, allocations: 66.64 kB / 0.9083 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3399, allocations: 159.1 MB / 1.064 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.6616/1.002, allocations: 34.52 MB / 1.097 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01871/1.02, allocations: 11.39 MB / 1.109 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00453/1.025, allocations: 142.9 kB / 1.109 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.01155/1.037, allocations: 4.001 MB / 1.113 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.008509/1.045, allocations: 1.827 MB / 1.114 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.008694/1.054, allocations: 2.195 MB / 1.117 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01465/1.068, allocations: 8.48 MB / 1.125 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02785/1.096, allocations: 13.44 MB / 1.138 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009772/1.106, allocations: 3.794 MB / 1.142 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01245/1.119, allocations: 4.391 MB / 1.146 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.004927/1.124, allocations: 0.7798 MB / 1.147 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009318/1.133, allocations: 2.021 MB / 1.149 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.00891/1.142, allocations: 3.06 MB / 1.152 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.01298/1.155, allocations: 3.397 MB / 1.155 GB, free: 9.438 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01665/1.172, allocations: 10.27 MB / 1.165 GB, free: 2.195 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 1.099e-05/1.172, allocations: 3.938 kB / 1.165 GB, free: 2.191 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.855e-06/1.172, allocations: 0 / 1.165 GB, free: 2.191 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0005428/1.172, allocations: 0 / 1.165 GB, free: 2.191 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.02183/1.194, allocations: 5.789 MB / 1.171 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/1.194, allocations: 16.56 kB / 1.171 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008292/1.202, allocations: 1.064 MB / 1.172 GB, free: 12.72 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008199/1.211, allocations: 3.255 MB / 1.175 GB, free: 9.41 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004416/1.211, allocations: 415.5 kB / 1.175 GB, free: 9.004 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002687/1.214, allocations: 0.5354 MB / 1.176 GB, free: 8.469 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02595/1.24, allocations: 9.079 MB / 1.185 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003312/1.24, allocations: 35.61 kB / 1.185 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002481/1.243, allocations: 236 kB / 1.185 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004669/1.243, allocations: 350.8 kB / 1.185 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.016/1.259, allocations: 6.83 MB / 1.192 GB, free: 7.621 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05087/1.31, allocations: 40.1 MB / 1.231 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003867/1.314, allocations: 3.114 MB / 1.234 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002623/1.317, allocations: 1.966 MB / 1.236 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001319/1.317, allocations: 22 kB / 1.236 GB, free: 6.555 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/1.317, allocations: 48.56 kB / 1.236 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=179): time 5.08e-06/1.317, allocations: 0 / 1.236 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of matching and sorting (n=182): time 0.02514/1.342, allocations: 9.981 MB / 1.246 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/1.342, allocations: 73.41 kB / 1.246 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002493/1.345, allocations: 1.526 MB / 1.247 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001578/1.345, allocations: 57.7 kB / 1.248 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.00146/1.346, allocations: 2.249 MB / 1.25 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006092/1.347, allocations: 0.6355 MB / 1.25 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006919/1.348, allocations: 403.9 kB / 1.251 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001023/1.348, allocations: 313 kB / 1.251 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/1.349, allocations: 1.176 MB / 1.252 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002155/1.352, allocations: 1.881 MB / 1.254 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004092/1.356, allocations: 3.364 MB / 1.257 GB, free: 12 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.383e-05/1.356, allocations: 12 kB / 1.257 GB, free: 0 / 0.9669 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007837/1.364, allocations: 4.589 MB / 1.262 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.927e-05/1.364, allocations: 26.06 kB / 1.262 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.498e-05/1.364, allocations: 24.12 kB / 1.262 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00372/1.367, allocations: 1.587 MB / 1.263 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/1.369, allocations: 355.3 kB / 1.264 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02306/1.392, allocations: 18.6 MB / 1.282 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002732/1.394, allocations: 119.9 kB / 1.282 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005425/1.395, allocations: 95.98 kB / 1.282 GB, free: 6.02 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005634/1.401, allocations: 1.894 MB / 1.284 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007411/1.401, allocations: 221.4 kB / 1.284 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007889/1.409, allocations: 4.098 MB / 1.288 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.343e-05/1.409, allocations: 16 kB / 1.288 GB, free: 15.75 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.365e-05/1.409, allocations: 20 kB / 1.288 GB, free: 15.73 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.26e-05/1.409, allocations: 7.969 kB / 1.288 GB, free: 15.72 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02042/1.43, allocations: 9.473 MB / 1.297 GB, free: 6.008 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-05/1.43, allocations: 8.562 kB / 1.297 GB, free: 6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008412/1.431, allocations: 187.7 kB / 1.298 GB, free: 5.816 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003566/1.434, allocations: 1.36 MB / 1.299 GB, free: 4.449 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001809/1.435, allocations: 36 kB / 1.299 GB, free: 4.414 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02329/1.458, allocations: 17.36 MB / 1.316 GB, free: 2.484 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/1.458, allocations: 4 kB / 1.316 GB, free: 2.48 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007874/1.466, allocations: 4.069 MB / 1.32 GB, free: 14.32 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001514/1.467, allocations: 0.5295 MB / 1.32 GB, free: 13.77 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006693/1.468, allocations: 39.98 kB / 1.32 GB, free: 13.73 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/1.469, allocations: 79.91 kB / 1.321 GB, free: 13.65 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005396/1.47, allocations: 165.7 kB / 1.321 GB, free: 13.49 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/1.47, allocations: 48 kB / 1.321 GB, free: 13.44 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001795/1.472, allocations: 1.005 MB / 1.322 GB, free: 12.41 MB / 1.045 GB Notification: Performance of sort global known variables: time 3.31e-07/1.472, allocations: 0 / 1.322 GB, free: 12.41 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.004422/1.476, allocations: 0.9844 MB / 1.323 GB, free: 11.43 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * 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,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003783/1.477, allocations: 147 kB / 1.323 GB, free: 11.28 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.009205/1.486, allocations: 5.194 MB / 1.328 GB, free: 6.039 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/1.486, allocations: 0 / 1.328 GB, free: 6.039 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.004377/1.49, allocations: 2.67 MB / 1.331 GB, free: 3.316 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004421/1.495, allocations: 0.7744 MB / 1.331 GB, free: 2.566 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02385/1.519, allocations: 11.78 MB / 1.343 GB, free: 6.703 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00738/1.526, allocations: 3.666 MB / 1.346 GB, free: 3 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006577/1.527, allocations: 123.4 kB / 1.346 GB, free: 2.879 MB / 1.061 GB Notification: Performance of SimCode: time 8.61e-07/1.527, allocations: 0 / 1.346 GB, free: 2.879 MB / 1.061 GB Notification: Performance of Templates: time 0.1942/1.721, allocations: 159.4 MB / 1.502 GB, free: 3.418 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches