Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Loads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.|senSingleConn.S.1|1.|senSingleConn.S.1|2.|senSingleConn.S.2|1.|senSingleConn.S.2|2.|senSingleConn.S.3|1.|senSingleConn.S.3|2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.|senSingleConn.S.1|1.|senSingleConn.S.1|2.|senSingleConn.S.2|1.|senSingleConn.S.2|2.|senSingleConn.S.3|1.|senSingleConn.S.3|2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 109.4 kB / 16.42 MB, free: 5.953 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.001158/0.001158, allocations: 188.3 kB / 17.35 MB, free: 5.582 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.336/1.336, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.61/2.61, allocations: 461.7 MB / 0.7352 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 67.84 kB / 1.055 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8215/0.8229, allocations: 157.4 MB / 1.208 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04225/0.8652, allocations: 37.26 MB / 1.245 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02199/0.8872, allocations: 13.7 MB / 1.258 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003615/0.8909, allocations: 111.6 kB / 1.258 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.006467/0.8975, allocations: 2.288 MB / 1.26 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004011/0.9015, allocations: 1.439 MB / 1.262 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.008147/0.9097, allocations: 3.513 MB / 1.265 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007061/0.9168, allocations: 6.387 MB / 1.271 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01159/0.9284, allocations: 9.876 MB / 1.281 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003912/0.9323, allocations: 2.739 MB / 1.284 GB, free: 144 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004935/0.9373, allocations: 3.202 MB / 1.287 GB, free: 12.93 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001494/0.9388, allocations: 0.625 MB / 1.287 GB, free: 12.3 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002962/0.9418, allocations: 1.256 MB / 1.289 GB, free: 11.05 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003081/0.9449, allocations: 2.476 MB / 1.291 GB, free: 8.566 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.004061/0.9489, allocations: 2.549 MB / 1.294 GB, free: 6.008 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008004/0.957, allocations: 9.158 MB / 1.303 GB, free: 12.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.957, allocations: 4 kB / 1.303 GB, free: 12.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.134e-06/0.957, allocations: 0 / 1.303 GB, free: 12.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002068/0.9572, allocations: 0 / 1.303 GB, free: 12.82 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: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.008466/0.9657, allocations: 4.306 MB / 1.307 GB, free: 8.445 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.9657, allocations: 12.03 kB / 1.307 GB, free: 8.434 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004419/0.9702, allocations: 1.042 MB / 1.308 GB, free: 7.387 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003669/0.9739, allocations: 2.226 MB / 1.31 GB, free: 5.117 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002092/0.9741, allocations: 329 kB / 1.31 GB, free: 4.793 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006493/0.9747, allocations: 424.2 kB / 1.311 GB, free: 4.379 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01199/0.9867, allocations: 7.416 MB / 1.318 GB, free: 12.72 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.972e-05/0.9868, allocations: 7.938 kB / 1.318 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004255/0.9873, allocations: 180 kB / 1.318 GB, free: 12.54 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002834/0.9876, allocations: 294.9 kB / 1.318 GB, free: 12.25 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008827/0.9964, allocations: 6.018 MB / 1.324 GB, free: 6.227 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03216/1.029, allocations: 32.45 MB / 1.356 GB, free: 2.93 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003324/1.032, allocations: 2.15 MB / 1.358 GB, free: 0.7422 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001622/1.034, allocations: 1.244 MB / 1.359 GB, free: 15.49 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001781/1.034, allocations: 106.1 kB / 1.359 GB, free: 15.37 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/1.034, allocations: 43.56 kB / 1.359 GB, free: 15.32 MB / 1.092 GB Notification: Performance of pre-optimization done (n=98): time 3.917e-06/1.034, allocations: 0 / 1.359 GB, free: 15.32 MB / 1.092 GB Notification: Performance of matching and sorting (n=101): time 0.00891/1.043, allocations: 5.277 MB / 1.365 GB, free: 9.988 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/1.043, allocations: 146 kB / 1.365 GB, free: 9.816 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002151/1.045, allocations: 1.472 MB / 1.366 GB, free: 8.332 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001229/1.045, allocations: 41.7 kB / 1.366 GB, free: 8.285 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001148/1.046, allocations: 1.859 MB / 1.368 GB, free: 6.398 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003811/1.047, allocations: 374.8 kB / 1.368 GB, free: 6.027 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007572/1.047, allocations: 463.1 kB / 1.369 GB, free: 5.566 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 9.541e-05/1.048, allocations: 305.1 kB / 1.369 GB, free: 5.266 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001781/1.049, allocations: 1.145 MB / 1.37 GB, free: 4.109 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002524/1.052, allocations: 2.215 MB / 1.372 GB, free: 1.375 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004342/1.056, allocations: 3.431 MB / 1.376 GB, free: 13.47 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.024e-05/1.056, allocations: 11.94 kB / 1.376 GB, free: 13.46 MB / 1.107 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005625/1.062, allocations: 3.371 MB / 1.379 GB, free: 10.08 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.693e-05/1.062, allocations: 22.19 kB / 1.379 GB, free: 10.06 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.055e-05/1.062, allocations: 32 kB / 1.379 GB, free: 10.03 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.871e-05/1.062, allocations: 52.03 kB / 1.379 GB, free: 9.98 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002209/1.064, allocations: 0.6278 MB / 1.38 GB, free: 9.352 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.352e-05/1.064, allocations: 71.66 kB / 1.38 GB, free: 9.281 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002365/1.067, allocations: 334.6 kB / 1.38 GB, free: 8.953 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002457/1.067, allocations: 116 kB / 1.38 GB, free: 8.84 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004226/1.071, allocations: 2.428 MB / 1.383 GB, free: 6.402 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002531/1.074, allocations: 2.047 MB / 1.385 GB, free: 3.816 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00509/1.079, allocations: 3.064 MB / 1.388 GB, free: 268 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.834e-05/1.079, allocations: 12 kB / 1.388 GB, free: 256 kB / 1.107 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.006145/1.085, allocations: 2.976 MB / 1.39 GB, free: 13.27 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.617e-05/1.085, allocations: 23.94 kB / 1.391 GB, free: 13.24 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.568e-05/1.085, allocations: 36.91 kB / 1.391 GB, free: 13.21 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.473e-05/1.085, allocations: 48 kB / 1.391 GB, free: 13.16 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00201/1.087, allocations: 0.5693 MB / 1.391 GB, free: 12.59 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-05/1.088, allocations: 71.72 kB / 1.391 GB, free: 12.52 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/1.09, allocations: 266.9 kB / 1.391 GB, free: 12.26 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001927/1.09, allocations: 112 kB / 1.392 GB, free: 12.15 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * 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.0005555/1.09, allocations: 335.3 kB / 1.392 GB, free: 11.81 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004509/1.091, allocations: 158.1 kB / 1.392 GB, free: 11.66 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00341/1.094, allocations: 2.25 MB / 1.394 GB, free: 9.398 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/1.094, allocations: 3.984 kB / 1.394 GB, free: 9.395 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/1.094, allocations: 7.938 kB / 1.394 GB, free: 9.387 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008034/1.095, allocations: 434.8 kB / 1.395 GB, free: 8.941 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003078/1.095, allocations: 20 kB / 1.395 GB, free: 8.922 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001641/1.097, allocations: 303.4 kB / 1.395 GB, free: 8.625 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/1.097, allocations: 56.92 kB / 1.395 GB, free: 8.566 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003432/1.101, allocations: 2.467 MB / 1.397 GB, free: 6.09 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002927/1.104, allocations: 2.494 MB / 1.4 GB, free: 3.57 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001186/1.105, allocations: 0.9719 MB / 1.401 GB, free: 2.602 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001758/1.107, allocations: 1.009 MB / 1.402 GB, free: 1.594 MB / 1.123 GB Notification: Performance of Backend: time 6.81e-07/1.107, allocations: 0 / 1.402 GB, free: 1.594 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0067/1.113, allocations: 3.535 MB / 1.405 GB, free: 14.07 MB / 1.139 GB Notification: Performance of SimCode: time 0.01122/1.125, allocations: 6.372 MB / 1.411 GB, free: 7.66 MB / 1.139 GB Notification: Performance of Templates: time 0.06242/1.187, allocations: 39.86 MB / 1.45 GB, free: 56 kB / 1.17 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches