Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005809/0.005809, allocations: 100.9 kB / 15.73 MB, free: 6 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.001184/0.001184, allocations: 188.9 kB / 16.67 MB, free: 5.934 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.82/2.82, allocations: 472.6 MB / 0.7453 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.91 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3108, allocations: 159.9 MB / 1.226 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01786/0.3287, allocations: 16.03 MB / 1.241 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008038/0.3368, allocations: 4.816 MB / 1.246 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/0.3381, allocations: 71.69 kB / 1.246 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002924/0.3411, allocations: 1.056 MB / 1.247 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0021/0.3432, allocations: 0.7386 MB / 1.248 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002451/0.3457, allocations: 0.9133 MB / 1.249 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.6356/0.9813, allocations: 3.608 MB / 1.252 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00566/0.987, allocations: 4.76 MB / 1.257 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002627/0.9896, allocations: 1.585 MB / 1.258 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002122/0.9918, allocations: 1.78 MB / 1.26 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004599/0.9922, allocations: 343.5 kB / 1.26 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001527/0.9938, allocations: 0.8006 MB / 1.261 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001413/0.9952, allocations: 1.316 MB / 1.262 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001798/0.997, allocations: 1.455 MB / 1.264 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007519/1.005, allocations: 5.148 MB / 1.269 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/1.005, allocations: 1.281 kB / 1.269 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.374e-06/1.005, allocations: 0 / 1.269 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001531/1.005, allocations: 0 / 1.269 GB, free: 9.141 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.006628/1.011, allocations: 2.715 MB / 1.272 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/1.011, allocations: 10.05 kB / 1.272 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004184/1.016, allocations: 0.8419 MB / 1.272 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002912/1.019, allocations: 1.574 MB / 1.274 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/1.019, allocations: 179.1 kB / 1.274 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004246/1.019, allocations: 236.8 kB / 1.274 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007416/1.027, allocations: 4.157 MB / 1.278 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.893e-05/1.027, allocations: 14.59 kB / 1.278 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003091/1.027, allocations: 101.7 kB / 1.279 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002057/1.027, allocations: 169.8 kB / 1.279 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006106/1.033, allocations: 3.63 MB / 1.282 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02053/1.054, allocations: 16.44 MB / 1.298 GB, free: 8.027 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003697/1.058, allocations: 2.297 MB / 1.301 GB, free: 6.621 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009781/1.059, allocations: 0.5861 MB / 1.301 GB, free: 6.41 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001525/1.059, allocations: 96.48 kB / 1.301 GB, free: 6.316 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/1.059, allocations: 39.92 kB / 1.301 GB, free: 6.27 MB / 1.014 GB Notification: Performance of pre-optimization done (n=72): time 3.136e-06/1.059, allocations: 0 / 1.301 GB, free: 6.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.009542/1.068, allocations: 3.506 MB / 1.305 GB, free: 4.289 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/1.068, allocations: 110.6 kB / 1.305 GB, free: 4.16 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002853/1.071, allocations: 1.018 MB / 1.306 GB, free: 3.742 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001534/1.072, allocations: 37.53 kB / 1.306 GB, free: 3.703 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001428/1.073, allocations: 1.137 MB / 1.307 GB, free: 2.828 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005317/1.074, allocations: 297.2 kB / 1.307 GB, free: 2.605 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008215/1.074, allocations: 278 kB / 1.307 GB, free: 2.469 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0003728/1.075, allocations: 413.1 kB / 1.308 GB, free: 2.117 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001461/1.076, allocations: 0.6164 MB / 1.308 GB, free: 1.918 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001899/1.078, allocations: 1.187 MB / 1.31 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002904/1.081, allocations: 1.873 MB / 1.311 GB, free: 15.8 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.834e-05/1.081, allocations: 9.188 kB / 1.311 GB, free: 15.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003776/1.085, allocations: 2.024 MB / 1.313 GB, free: 15.12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/1.085, allocations: 16.72 kB / 1.313 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.257e-05/1.085, allocations: 20.31 kB / 1.313 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000467/1.085, allocations: 159.7 kB / 1.314 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/1.087, allocations: 351.2 kB / 1.314 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-05/1.087, allocations: 38.33 kB / 1.314 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/1.088, allocations: 122.7 kB / 1.314 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/1.088, allocations: 74.52 kB / 1.314 GB, free: 15 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001694/1.09, allocations: 0.9804 MB / 1.315 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002989/1.09, allocations: 116.5 kB / 1.315 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002228/1.092, allocations: 1.224 MB / 1.316 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/1.092, allocations: 11.84 kB / 1.316 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/1.092, allocations: 10.38 kB / 1.316 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/1.092, allocations: 4.156 kB / 1.316 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007075/1.099, allocations: 3.794 MB / 1.32 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/1.099, allocations: 3 kB / 1.32 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006011/1.1, allocations: 156.5 kB / 1.32 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00038/1.1, allocations: 139.3 kB / 1.32 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.33e-05/1.101, allocations: 20.02 kB / 1.32 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.216e-05/1.101, allocations: 13.7 kB / 1.32 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/1.101, allocations: 10.62 kB / 1.321 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002217/1.103, allocations: 1.468 MB / 1.322 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005897/1.103, allocations: 276.9 kB / 1.322 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002511/1.104, allocations: 24.84 kB / 1.322 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007071/1.104, allocations: 61.89 kB / 1.322 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/1.105, allocations: 56.95 kB / 1.322 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.051e-05/1.105, allocations: 21.44 kB / 1.322 GB, free: 11.18 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001126/1.106, allocations: 0.6975 MB / 1.323 GB, free: 10.89 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.5e-07/1.106, allocations: 0 / 1.323 GB, free: 10.89 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001789/1.108, allocations: 391 kB / 1.323 GB, free: 10.86 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002265/1.108, allocations: 126.6 kB / 1.324 GB, free: 10.76 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002517/1.11, allocations: 1.721 MB / 1.325 GB, free: 9.785 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.11, allocations: 5.312 kB / 1.325 GB, free: 9.781 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009985/1.111, allocations: 0.8578 MB / 1.326 GB, free: 9.129 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/1.113, allocations: 266.7 kB / 1.326 GB, free: 8.988 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007924/1.121, allocations: 3.835 MB / 1.33 GB, free: 6.891 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002539/1.123, allocations: 1.916 MB / 1.332 GB, free: 5.578 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001411/1.125, allocations: 446.6 kB / 1.332 GB, free: 5.391 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000323/1.125, allocations: 83.8 kB / 1.332 GB, free: 5.379 MB / 1.029 GB Notification: Performance of SimCode: time 7.61e-07/1.125, allocations: 1.156 kB / 1.332 GB, free: 5.379 MB / 1.029 GB Notification: Performance of Templates: time 0.02835/1.154, allocations: 13.68 MB / 1.346 GB, free: 14.87 MB / 1.045 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches