Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_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.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001489/0.00149, allocations: 187 kB / 17.34 MB, free: 5.719 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.434/1.434, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.696/2.696, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 67.88 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9354/0.9369, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02625/0.9632, allocations: 20.44 MB / 1.228 GB, free: 9.125 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01515/0.9785, allocations: 7.681 MB / 1.236 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002616/0.9811, allocations: 63.81 kB / 1.236 GB, free: 1.359 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004154/0.9854, allocations: 1.349 MB / 1.237 GB, free: 8 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003413/0.9888, allocations: 0.9997 MB / 1.238 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005562/0.9944, allocations: 2.006 MB / 1.24 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005747/1, allocations: 4.327 MB / 1.244 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009634/1.01, allocations: 6.161 MB / 1.25 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003566/1.013, allocations: 1.862 MB / 1.252 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004177/1.018, allocations: 2.209 MB / 1.254 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001527/1.019, allocations: 424 kB / 1.255 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002889/1.022, allocations: 0.9363 MB / 1.256 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002751/1.025, allocations: 1.657 MB / 1.257 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.004042/1.029, allocations: 1.712 MB / 1.259 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.008699/1.038, allocations: 6.192 MB / 1.265 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/1.038, allocations: 0 / 1.265 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.944e-06/1.038, allocations: 0 / 1.265 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0002233/1.038, allocations: 0 / 1.265 GB, free: 3.41 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.008296/1.046, allocations: 3.055 MB / 1.268 GB, free: 300 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/1.046, allocations: 8.031 kB / 1.268 GB, free: 292 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003688/1.05, allocations: 0.7468 MB / 1.269 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002752/1.053, allocations: 1.575 MB / 1.27 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/1.053, allocations: 214.2 kB / 1.271 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000476/1.053, allocations: 288.3 kB / 1.271 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008908/1.062, allocations: 5.082 MB / 1.276 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.48e-05/1.062, allocations: 19.78 kB / 1.276 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003272/1.063, allocations: 120 kB / 1.276 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002405/1.063, allocations: 204.6 kB / 1.276 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007512/1.07, allocations: 4.224 MB / 1.28 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0266/1.097, allocations: 22.93 MB / 1.303 GB, free: 10.49 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002852/1.1, allocations: 1.723 MB / 1.304 GB, free: 8.734 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001591/1.102, allocations: 1.15 MB / 1.305 GB, free: 7.574 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001637/1.102, allocations: 97.73 kB / 1.306 GB, free: 7.457 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/1.102, allocations: 47.16 kB / 1.306 GB, free: 7.402 MB / 1.029 GB Notification: Performance of pre-optimization done (n=84): time 3.186e-06/1.102, allocations: 0 / 1.306 GB, free: 7.402 MB / 1.029 GB Notification: Performance of matching and sorting (n=87): time 0.006286/1.108, allocations: 4.012 MB / 1.309 GB, free: 3.359 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.149e-05/1.108, allocations: 149.6 kB / 1.31 GB, free: 3.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/1.109, allocations: 0.8643 MB / 1.31 GB, free: 2.309 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.832e-05/1.11, allocations: 41.7 kB / 1.31 GB, free: 2.262 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008758/1.11, allocations: 1.166 MB / 1.312 GB, free: 1.078 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003093/1.111, allocations: 307.6 kB / 1.312 GB, free: 0.7734 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000434/1.111, allocations: 274.5 kB / 1.312 GB, free: 0.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001937/1.111, allocations: 410.7 kB / 1.313 GB, free: 92 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/1.113, allocations: 0.8258 MB / 1.313 GB, free: 15.25 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001606/1.114, allocations: 1.31 MB / 1.315 GB, free: 13.73 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002822/1.117, allocations: 2.163 MB / 1.317 GB, free: 11.37 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.166e-06/1.117, allocations: 4.094 kB / 1.317 GB, free: 11.37 MB / 1.045 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003621/1.121, allocations: 2.223 MB / 1.319 GB, free: 9.133 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/1.121, allocations: 8 kB / 1.319 GB, free: 9.125 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/1.121, allocations: 16 kB / 1.319 GB, free: 9.109 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.662e-05/1.121, allocations: 20 kB / 1.319 GB, free: 9.09 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001659/1.123, allocations: 415.3 kB / 1.319 GB, free: 8.684 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-05/1.123, allocations: 23.94 kB / 1.319 GB, free: 8.66 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/1.124, allocations: 215.4 kB / 1.32 GB, free: 8.449 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/1.124, allocations: 59.98 kB / 1.32 GB, free: 8.391 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002913/1.127, allocations: 1.689 MB / 1.321 GB, free: 6.695 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001445/1.129, allocations: 1.182 MB / 1.322 GB, free: 5.281 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002505/1.131, allocations: 1.906 MB / 1.324 GB, free: 3.164 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.078e-05/1.131, allocations: 11.94 kB / 1.324 GB, free: 3.152 MB / 1.045 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003177/1.134, allocations: 1.925 MB / 1.326 GB, free: 1.223 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/1.134, allocations: 12 kB / 1.326 GB, free: 1.211 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/1.134, allocations: 16 kB / 1.326 GB, free: 1.195 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/1.134, allocations: 20 kB / 1.326 GB, free: 1.176 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/1.136, allocations: 364 kB / 1.327 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.632e-05/1.136, allocations: 35.86 kB / 1.327 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/1.137, allocations: 175.2 kB / 1.327 GB, free: 0.6133 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/1.137, allocations: 63.98 kB / 1.327 GB, free: 0.5508 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004427/1.138, allocations: 267.8 kB / 1.327 GB, free: 288 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002458/1.138, allocations: 102.8 kB / 1.327 GB, free: 184 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002958/1.141, allocations: 1.849 MB / 1.329 GB, free: 14.32 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/1.141, allocations: 12 kB / 1.329 GB, free: 14.3 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/1.141, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/1.141, allocations: 11.92 kB / 1.329 GB, free: 14.29 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01273/1.154, allocations: 9.585 MB / 1.338 GB, free: 4.457 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/1.154, allocations: 12 kB / 1.338 GB, free: 4.445 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00122/1.155, allocations: 315.4 kB / 1.339 GB, free: 4.137 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.849e-05/1.155, allocations: 19.94 kB / 1.339 GB, free: 4.117 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.242e-05/1.155, allocations: 24 kB / 1.339 GB, free: 4.094 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.471e-05/1.155, allocations: 24.31 kB / 1.339 GB, free: 4.07 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.279e-05/1.155, allocations: 19.94 kB / 1.339 GB, free: 4.051 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002868/1.158, allocations: 2.402 MB / 1.341 GB, free: 1.492 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006017/1.159, allocations: 375.7 kB / 1.342 GB, free: 1.105 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/1.159, allocations: 39.98 kB / 1.342 GB, free: 1.066 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009986/1.16, allocations: 143.7 kB / 1.342 GB, free: 0.9258 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001887/1.16, allocations: 87.67 kB / 1.342 GB, free: 0.8398 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-05/1.16, allocations: 40 kB / 1.342 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000929/1.161, allocations: 0.6161 MB / 1.342 GB, free: 196 kB / 1.061 GB Notification: Performance of sort global known variables: time 1.41e-07/1.161, allocations: 0 / 1.342 GB, free: 196 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.002609/1.164, allocations: 0.754 MB / 1.343 GB, free: 15.43 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (90): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002785/1.164, allocations: 150.8 kB / 1.343 GB, free: 15.28 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004515/1.168, allocations: 2.902 MB / 1.346 GB, free: 12.39 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/1.168, allocations: 8.062 kB / 1.346 GB, free: 12.38 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001243/1.17, allocations: 0.9083 MB / 1.347 GB, free: 11.47 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001878/1.172, allocations: 302.6 kB / 1.347 GB, free: 11.19 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008788/1.18, allocations: 5.428 MB / 1.353 GB, free: 5.566 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002089/1.183, allocations: 2.187 MB / 1.355 GB, free: 3.344 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006712/1.183, allocations: 99.41 kB / 1.355 GB, free: 3.246 MB / 1.076 GB Notification: Performance of SimCode: time 1.002e-06/1.183, allocations: 4 kB / 1.355 GB, free: 3.242 MB / 1.076 GB Notification: Performance of Templates: time 0.04205/1.225, allocations: 28.23 MB / 1.382 GB, free: 7.105 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches