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.001245/0.001245, allocations: 117.3 kB / 16.42 MB, free: 6.5 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.001295/0.001295, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.589/2.589, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 76.11 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9191/0.9206, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.0247/0.9453, allocations: 20.44 MB / 1.228 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01581/0.9612, allocations: 7.685 MB / 1.236 GB, free: 1.441 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002498/0.9637, allocations: 63.81 kB / 1.236 GB, free: 1.379 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004804/0.9686, allocations: 1.349 MB / 1.237 GB, free: 28 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004197/0.9728, allocations: 1.003 MB / 1.238 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005782/0.9786, allocations: 1.999 MB / 1.24 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005909/0.9846, allocations: 4.331 MB / 1.244 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009964/0.9945, allocations: 6.153 MB / 1.25 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003423/0.998, allocations: 1.87 MB / 1.252 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00404/1.002, allocations: 2.193 MB / 1.254 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.00152/1.004, allocations: 428 kB / 1.255 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002816/1.006, allocations: 0.9441 MB / 1.256 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002771/1.009, allocations: 1.649 MB / 1.257 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003557/1.013, allocations: 1.72 MB / 1.259 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.007462/1.02, allocations: 6.184 MB / 1.265 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.443e-06/1.02, allocations: 0 / 1.265 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.864e-06/1.02, allocations: 4 kB / 1.265 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.000115/1.02, allocations: 0 / 1.265 GB, free: 3.438 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.005954/1.026, allocations: 3.055 MB / 1.268 GB, free: 328 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/1.026, allocations: 8.031 kB / 1.268 GB, free: 320 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003515/1.03, allocations: 0.7429 MB / 1.269 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00364/1.034, allocations: 1.575 MB / 1.27 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000162/1.034, allocations: 218.2 kB / 1.271 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005568/1.034, allocations: 284.3 kB / 1.271 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008638/1.043, allocations: 5.086 MB / 1.276 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.633e-05/1.043, allocations: 11.84 kB / 1.276 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003398/1.044, allocations: 124 kB / 1.276 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002611/1.044, allocations: 208.6 kB / 1.276 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007786/1.052, allocations: 4.22 MB / 1.28 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03013/1.082, allocations: 22.93 MB / 1.303 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00303/1.085, allocations: 1.723 MB / 1.304 GB, free: 8.781 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001717/1.087, allocations: 1.158 MB / 1.305 GB, free: 7.613 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001722/1.087, allocations: 97.73 kB / 1.306 GB, free: 7.496 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/1.087, allocations: 55.16 kB / 1.306 GB, free: 7.434 MB / 1.029 GB Notification: Performance of pre-optimization done (n=84): time 3.467e-06/1.087, allocations: 3.938 kB / 1.306 GB, free: 7.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=87): time 0.0071/1.094, allocations: 4.008 MB / 1.309 GB, free: 3.391 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.288e-05/1.094, allocations: 137.2 kB / 1.31 GB, free: 3.223 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/1.095, allocations: 0.8643 MB / 1.31 GB, free: 2.352 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-05/1.096, allocations: 41.7 kB / 1.31 GB, free: 2.305 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007953/1.096, allocations: 1.162 MB / 1.312 GB, free: 1.125 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003274/1.097, allocations: 311.6 kB / 1.312 GB, free: 0.8164 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000487/1.097, allocations: 282.5 kB / 1.312 GB, free: 0.5352 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001912/1.097, allocations: 398.7 kB / 1.313 GB, free: 140 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/1.099, allocations: 0.8257 MB / 1.313 GB, free: 15.3 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001667/1.1, allocations: 1.306 MB / 1.315 GB, free: 13.78 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003017/1.103, allocations: 2.175 MB / 1.317 GB, free: 11.41 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.475e-05/1.103, allocations: 4 kB / 1.317 GB, free: 11.41 MB / 1.045 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004129/1.108, allocations: 2.21 MB / 1.319 GB, free: 9.188 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.162e-05/1.108, allocations: 12 kB / 1.319 GB, free: 9.176 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-05/1.108, allocations: 16 kB / 1.319 GB, free: 9.16 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.387e-05/1.108, allocations: 20.75 kB / 1.319 GB, free: 9.141 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001684/1.109, allocations: 419.3 kB / 1.319 GB, free: 8.73 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.084e-05/1.11, allocations: 27.92 kB / 1.319 GB, free: 8.703 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/1.111, allocations: 211.3 kB / 1.32 GB, free: 8.496 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/1.111, allocations: 63.98 kB / 1.32 GB, free: 8.434 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003276/1.115, allocations: 1.681 MB / 1.321 GB, free: 6.746 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001713/1.116, allocations: 1.194 MB / 1.322 GB, free: 5.32 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002564/1.119, allocations: 1.898 MB / 1.324 GB, free: 3.211 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.93e-05/1.119, allocations: 4 kB / 1.324 GB, free: 3.207 MB / 1.045 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003294/1.122, allocations: 1.934 MB / 1.326 GB, free: 1.27 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/1.122, allocations: 16.03 kB / 1.326 GB, free: 1.254 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.279e-05/1.122, allocations: 16 kB / 1.326 GB, free: 1.238 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/1.122, allocations: 20 kB / 1.326 GB, free: 1.219 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/1.124, allocations: 367.4 kB / 1.327 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.806e-05/1.124, allocations: 27.88 kB / 1.327 GB, free: 0.832 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/1.125, allocations: 183.3 kB / 1.327 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/1.125, allocations: 56 kB / 1.327 GB, free: 0.5977 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.0004029/1.126, allocations: 271.8 kB / 1.327 GB, free: 332 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003293/1.126, allocations: 98.78 kB / 1.327 GB, free: 232 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003014/1.129, allocations: 1.85 MB / 1.329 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/1.129, allocations: 8.109 kB / 1.329 GB, free: 14.35 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.129, allocations: 4 kB / 1.329 GB, free: 14.35 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007339/1.13, allocations: 363.6 kB / 1.329 GB, free: 13.97 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002286/1.13, allocations: 19.98 kB / 1.329 GB, free: 13.95 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/1.131, allocations: 231.6 kB / 1.33 GB, free: 13.73 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/1.132, allocations: 60.7 kB / 1.33 GB, free: 13.67 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003385/1.135, allocations: 2.138 MB / 1.332 GB, free: 11.52 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002727/1.138, allocations: 2.142 MB / 1.334 GB, free: 9.355 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001083/1.139, allocations: 0.8325 MB / 1.335 GB, free: 8.523 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001216/1.14, allocations: 0.6122 MB / 1.335 GB, free: 7.918 MB / 1.061 GB Notification: Performance of Backend: time 7.32e-07/1.14, allocations: 0 / 1.335 GB, free: 7.918 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.006495/1.147, allocations: 2.447 MB / 1.338 GB, free: 5.473 MB / 1.061 GB Notification: Performance of SimCode: time 0.008892/1.155, allocations: 4.361 MB / 1.342 GB, free: 1.07 MB / 1.061 GB Notification: Performance of Templates: time 0.04841/1.204, allocations: 29.88 MB / 1.371 GB, free: 3.395 MB / 1.092 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