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.006768/0.006768, allocations: 102 kB / 15.73 MB, free: 6.047 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.001519/0.001519, allocations: 188.3 kB / 16.67 MB, free: 5.98 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.726/2.726, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 60.12 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3184, allocations: 157.4 MB / 1.208 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02428/0.3427, allocations: 20.42 MB / 1.228 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01337/0.3561, allocations: 7.701 MB / 1.235 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002087/0.3582, allocations: 59.81 kB / 1.235 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003854/0.3621, allocations: 1.36 MB / 1.237 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00334/0.3655, allocations: 0.9997 MB / 1.238 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005813/0.3713, allocations: 1.998 MB / 1.239 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005989/0.3773, allocations: 4.324 MB / 1.244 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6559/1.033, allocations: 6.151 MB / 1.25 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002728/1.036, allocations: 1.871 MB / 1.252 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002979/1.039, allocations: 2.202 MB / 1.254 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005935/1.04, allocations: 425.9 kB / 1.254 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001594/1.041, allocations: 0.9435 MB / 1.255 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001676/1.043, allocations: 1.651 MB / 1.257 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002871/1.046, allocations: 1.711 MB / 1.258 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009785/1.056, allocations: 6.192 MB / 1.264 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/1.056, allocations: 0 / 1.264 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.345e-06/1.056, allocations: 0.5156 kB / 1.264 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002181/1.056, allocations: 1.031 kB / 1.264 GB, free: 10.27 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.009864/1.066, allocations: 3.053 MB / 1.267 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/1.066, allocations: 10.12 kB / 1.267 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004199/1.07, allocations: 0.7502 MB / 1.268 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00341/1.074, allocations: 1.57 MB / 1.27 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001979/1.074, allocations: 216 kB / 1.27 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007634/1.075, allocations: 292.5 kB / 1.27 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01132/1.086, allocations: 5.079 MB / 1.275 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.3e-05/1.086, allocations: 13.84 kB / 1.275 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004013/1.086, allocations: 123.1 kB / 1.275 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000257/1.087, allocations: 209.8 kB / 1.275 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008387/1.095, allocations: 4.224 MB / 1.28 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02707/1.122, allocations: 22.91 MB / 1.302 GB, free: 8.355 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00326/1.125, allocations: 1.73 MB / 1.304 GB, free: 7.77 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001771/1.127, allocations: 1.153 MB / 1.305 GB, free: 7.363 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001604/1.127, allocations: 99.94 kB / 1.305 GB, free: 7.266 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/1.127, allocations: 59.02 kB / 1.305 GB, free: 7.211 MB / 1.014 GB Notification: Performance of pre-optimization done (n=84): time 2.866e-06/1.127, allocations: 0 / 1.305 GB, free: 7.211 MB / 1.014 GB Notification: Performance of matching and sorting (n=87): time 0.007327/1.135, allocations: 4.004 MB / 1.309 GB, free: 5.211 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.74e-05/1.135, allocations: 138.9 kB / 1.309 GB, free: 5.055 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001531/1.136, allocations: 0.8663 MB / 1.31 GB, free: 4.699 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001186/1.137, allocations: 37.73 kB / 1.31 GB, free: 4.66 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009805/1.138, allocations: 1.161 MB / 1.311 GB, free: 3.785 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003429/1.138, allocations: 312.2 kB / 1.311 GB, free: 3.551 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005186/1.138, allocations: 279 kB / 1.311 GB, free: 3.422 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002499/1.139, allocations: 404.1 kB / 1.312 GB, free: 3.07 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/1.14, allocations: 0.8301 MB / 1.313 GB, free: 2.789 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/1.142, allocations: 1.309 MB / 1.314 GB, free: 1.895 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003363/1.145, allocations: 2.169 MB / 1.316 GB, free: 0.707 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.016e-05/1.145, allocations: 3.531 kB / 1.316 GB, free: 0.707 MB / 1.014 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004186/1.15, allocations: 2.221 MB / 1.318 GB, free: 15.97 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.707e-05/1.15, allocations: 11.09 kB / 1.318 GB, free: 15.97 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-05/1.15, allocations: 13.78 kB / 1.318 GB, free: 15.97 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.974e-05/1.15, allocations: 23.2 kB / 1.318 GB, free: 15.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001692/1.151, allocations: 419.5 kB / 1.319 GB, free: 15.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.405e-05/1.151, allocations: 28.47 kB / 1.319 GB, free: 15.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/1.153, allocations: 213.9 kB / 1.319 GB, free: 15.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/1.153, allocations: 63.38 kB / 1.319 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003256/1.156, allocations: 1.682 MB / 1.321 GB, free: 15.26 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001703/1.158, allocations: 1.186 MB / 1.322 GB, free: 14.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002778/1.161, allocations: 1.907 MB / 1.324 GB, free: 12.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.605e-05/1.161, allocations: 3.906 kB / 1.324 GB, free: 12.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003415/1.164, allocations: 1.93 MB / 1.326 GB, free: 12.08 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/1.164, allocations: 12.78 kB / 1.326 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/1.164, allocations: 18.66 kB / 1.326 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/1.164, allocations: 21.91 kB / 1.326 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/1.166, allocations: 361 kB / 1.326 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.191e-05/1.166, allocations: 36.38 kB / 1.326 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/1.167, allocations: 177.8 kB / 1.326 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/1.168, allocations: 59.36 kB / 1.326 GB, free: 11.88 MB / 1.029 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.0004471/1.168, allocations: 270.3 kB / 1.326 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003497/1.168, allocations: 104.5 kB / 1.327 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003144/1.172, allocations: 1.844 MB / 1.328 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/1.172, allocations: 13.95 kB / 1.328 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/1.172, allocations: 0.8438 kB / 1.328 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/1.172, allocations: 14.3 kB / 1.328 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01589/1.188, allocations: 9.585 MB / 1.338 GB, free: 4.793 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.04e-05/1.188, allocations: 12.19 kB / 1.338 GB, free: 4.793 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/1.189, allocations: 313.9 kB / 1.338 GB, free: 4.695 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.378e-05/1.189, allocations: 13.59 kB / 1.338 GB, free: 4.695 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001359/1.189, allocations: 30.25 kB / 1.338 GB, free: 4.684 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.898e-05/1.189, allocations: 24.42 kB / 1.338 GB, free: 4.68 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.33e-05/1.189, allocations: 22.72 kB / 1.338 GB, free: 4.676 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0031/1.192, allocations: 2.398 MB / 1.34 GB, free: 2.98 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009558/1.193, allocations: 371.6 kB / 1.341 GB, free: 2.719 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003014/1.193, allocations: 34.59 kB / 1.341 GB, free: 2.703 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/1.195, allocations: 144.2 kB / 1.341 GB, free: 2.633 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002086/1.195, allocations: 96.02 kB / 1.341 GB, free: 2.582 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.554e-05/1.195, allocations: 42.02 kB / 1.341 GB, free: 2.57 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001092/1.196, allocations: 0.6093 MB / 1.342 GB, free: 2.234 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.196, allocations: 0 / 1.342 GB, free: 2.234 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.004088/1.2, allocations: 0.754 MB / 1.342 GB, free: 2.188 MB / 1.029 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.0002715/1.2, allocations: 147.8 kB / 1.343 GB, free: 2.07 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004563/1.205, allocations: 2.911 MB / 1.345 GB, free: 0.7383 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/1.205, allocations: 3.031 kB / 1.345 GB, free: 0.7383 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001249/1.206, allocations: 0.9078 MB / 1.346 GB, free: 328 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00212/1.208, allocations: 298.2 kB / 1.347 GB, free: 188 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/1.219, allocations: 4.985 MB / 1.351 GB, free: 13.3 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003084/1.222, allocations: 2.127 MB / 1.354 GB, free: 11.7 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.002121/1.224, allocations: 0.754 MB / 1.354 GB, free: 10.94 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004786/1.225, allocations: 83.42 kB / 1.354 GB, free: 10.86 MB / 1.045 GB Notification: Performance of SimCode: time 1.122e-06/1.225, allocations: 0 / 1.354 GB, free: 10.86 MB / 1.045 GB Notification: Performance of Templates: time 0.03119/1.256, allocations: 18.26 MB / 1.372 GB, free: 8.801 MB / 1.061 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/jenkins/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