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.008892/0.008892, allocations: 102.8 kB / 15.73 MB, free: 5.992 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.001608/0.001608, allocations: 193.2 kB / 16.67 MB, free: 5.914 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.612/2.612, allocations: 461.9 MB / 0.7347 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 64.06 kB / 1.054 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8087/0.81, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03752/0.8475, allocations: 34.85 MB / 1.242 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02016/0.8677, allocations: 11.49 MB / 1.253 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004064/0.8718, allocations: 159.2 kB / 1.253 GB, free: 15 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.01131/0.8832, allocations: 4.255 MB / 1.257 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007063/0.8903, allocations: 1.994 MB / 1.259 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.007366/0.8977, allocations: 2.395 MB / 1.262 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01176/0.9094, allocations: 8.46 MB / 1.27 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01933/0.9288, allocations: 11.13 MB / 1.281 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00721/0.9361, allocations: 3.798 MB / 1.284 GB, free: 14.79 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007036/0.9431, allocations: 4.179 MB / 1.289 GB, free: 10.6 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002407/0.9456, allocations: 0.7812 MB / 1.289 GB, free: 9.816 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005016/0.9506, allocations: 2.024 MB / 1.291 GB, free: 7.789 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.004695/0.9553, allocations: 3.064 MB / 1.294 GB, free: 4.719 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.01173/0.967, allocations: 3.396 MB / 1.298 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01887/0.986, allocations: 11.98 MB / 1.309 GB, free: 5.293 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.986, allocations: 0 / 1.309 GB, free: 5.293 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.206e-06/0.986, allocations: 0 / 1.309 GB, free: 5.293 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0005494/0.9866, allocations: 0 / 1.309 GB, free: 5.293 MB / 1.029 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.01929/1.006, allocations: 5.799 MB / 1.315 GB, free: 15.42 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/1.006, allocations: 8.031 kB / 1.315 GB, free: 15.41 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007204/1.013, allocations: 1.067 MB / 1.316 GB, free: 14.34 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007776/1.021, allocations: 3.446 MB / 1.319 GB, free: 10.83 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004113/1.021, allocations: 423.4 kB / 1.32 GB, free: 10.42 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002058/1.023, allocations: 0.5315 MB / 1.32 GB, free: 9.887 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0224/1.046, allocations: 9.083 MB / 1.329 GB, free: 496 kB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003512/1.046, allocations: 31.69 kB / 1.329 GB, free: 464 kB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001916/1.048, allocations: 236 kB / 1.329 GB, free: 228 kB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004577/1.049, allocations: 346.8 kB / 1.33 GB, free: 15.88 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01597/1.065, allocations: 6.834 MB / 1.336 GB, free: 9.039 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04946/1.114, allocations: 39.79 MB / 1.375 GB, free: 13.53 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003928/1.118, allocations: 3.106 MB / 1.378 GB, free: 10.28 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002897/1.121, allocations: 1.985 MB / 1.38 GB, free: 8.297 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001645/1.121, allocations: 18 kB / 1.38 GB, free: 8.281 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/1.121, allocations: 56.56 kB / 1.38 GB, free: 8.215 MB / 1.107 GB Notification: Performance of pre-optimization done (n=179): time 3.636e-06/1.121, allocations: 3.938 kB / 1.38 GB, free: 8.211 MB / 1.107 GB Notification: Performance of matching and sorting (n=182): time 0.0241/1.145, allocations: 9.985 MB / 1.39 GB, free: 14.12 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/1.145, allocations: 69.41 kB / 1.39 GB, free: 14.05 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002175/1.148, allocations: 1.526 MB / 1.392 GB, free: 12.48 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001384/1.148, allocations: 53.7 kB / 1.392 GB, free: 12.42 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001314/1.149, allocations: 2.261 MB / 1.394 GB, free: 10.13 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005484/1.15, allocations: 0.6316 MB / 1.394 GB, free: 9.488 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006503/1.15, allocations: 407.9 kB / 1.395 GB, free: 9.082 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 8.982e-05/1.15, allocations: 309.1 kB / 1.395 GB, free: 8.777 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001631/1.152, allocations: 1.176 MB / 1.396 GB, free: 7.598 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002138/1.154, allocations: 1.889 MB / 1.398 GB, free: 5.387 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003947/1.158, allocations: 3.367 MB / 1.401 GB, free: 1.711 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-05/1.158, allocations: 8 kB / 1.401 GB, free: 1.703 MB / 1.123 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007382/1.166, allocations: 4.578 MB / 1.406 GB, free: 13.1 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/1.166, allocations: 12 kB / 1.406 GB, free: 13.09 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.172e-05/1.166, allocations: 24 kB / 1.406 GB, free: 13.07 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003722/1.169, allocations: 1.582 MB / 1.407 GB, free: 11.48 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/1.171, allocations: 351.3 kB / 1.408 GB, free: 11.13 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02208/1.193, allocations: 18.58 MB / 1.426 GB, free: 8 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/1.194, allocations: 119.9 kB / 1.426 GB, free: 7.883 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001813/1.195, allocations: 92 kB / 1.426 GB, free: 7.793 MB / 1.154 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.003057/1.198, allocations: 1.894 MB / 1.428 GB, free: 5.887 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003733/1.198, allocations: 225.4 kB / 1.428 GB, free: 5.664 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006552/1.205, allocations: 4.102 MB / 1.432 GB, free: 1.531 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/1.205, allocations: 16 kB / 1.432 GB, free: 1.516 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.012e-05/1.205, allocations: 16 kB / 1.432 GB, free: 1.5 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/1.205, allocations: 11.97 kB / 1.432 GB, free: 1.488 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01409/1.219, allocations: 9.457 MB / 1.442 GB, free: 7.789 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/1.219, allocations: 7.984 kB / 1.442 GB, free: 7.781 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00078/1.22, allocations: 179.7 kB / 1.442 GB, free: 7.605 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003308/1.223, allocations: 1.349 MB / 1.443 GB, free: 6.246 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001629/1.223, allocations: 36 kB / 1.443 GB, free: 6.211 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0199/1.243, allocations: 17.36 MB / 1.46 GB, free: 4.285 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/1.243, allocations: 11.94 kB / 1.46 GB, free: 4.273 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006478/1.25, allocations: 4.059 MB / 1.464 GB, free: 120 kB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/1.251, allocations: 0.5338 MB / 1.465 GB, free: 15.56 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/1.251, allocations: 39.98 kB / 1.465 GB, free: 15.52 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008179/1.252, allocations: 87.89 kB / 1.465 GB, free: 15.44 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004408/1.252, allocations: 165.6 kB / 1.465 GB, free: 15.28 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/1.252, allocations: 52 kB / 1.465 GB, free: 15.23 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001308/1.254, allocations: 1.005 MB / 1.466 GB, free: 14.2 MB / 1.201 GB Notification: Performance of sort global known variables: time 2.71e-07/1.254, allocations: 0 / 1.466 GB, free: 14.2 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.00293/1.256, allocations: 0.9844 MB / 1.467 GB, free: 13.21 MB / 1.201 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.0002592/1.257, allocations: 149.7 kB / 1.467 GB, free: 13.06 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.006399/1.263, allocations: 4.307 MB / 1.471 GB, free: 8.703 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/1.263, allocations: 7.938 kB / 1.471 GB, free: 8.695 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.004114/1.267, allocations: 2.662 MB / 1.474 GB, free: 5.984 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003236/1.271, allocations: 0.7831 MB / 1.474 GB, free: 5.23 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01572/1.286, allocations: 8.587 MB / 1.483 GB, free: 12.57 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004222/1.291, allocations: 3.569 MB / 1.486 GB, free: 8.969 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001698/1.292, allocations: 471.9 kB / 1.487 GB, free: 8.504 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00029/1.293, allocations: 119.4 kB / 1.487 GB, free: 8.387 MB / 1.217 GB Notification: Performance of SimCode: time 1.252e-06/1.293, allocations: 0 / 1.487 GB, free: 8.387 MB / 1.217 GB Notification: Performance of Templates: time 0.07464/1.367, allocations: 44.6 MB / 1.53 GB, free: 12.24 MB / 1.264 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/jenkins/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