Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001537/0.001537, allocations: 115.2 kB / 16.42 MB, free: 6.457 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.001479/0.00148, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.376/1.376, 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 10.1.1-maint.10.0.x/package.mo): time 2.581/2.581, allocations: 437.1 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 63.91 kB / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9732/0.9747, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04477/1.019, allocations: 37.25 MB / 1.204 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0236/1.043, allocations: 13.71 MB / 1.217 GB, free: 0.7383 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004506/1.048, allocations: 111.7 kB / 1.217 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.006631/1.054, allocations: 2.294 MB / 1.219 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005401/1.06, allocations: 1.455 MB / 1.221 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.009202/1.069, allocations: 3.513 MB / 1.224 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.009102/1.078, allocations: 6.41 MB / 1.231 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01346/1.092, allocations: 9.879 MB / 1.24 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005425/1.097, allocations: 2.766 MB / 1.243 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006177/1.103, allocations: 3.206 MB / 1.246 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.002144/1.106, allocations: 0.6211 MB / 1.247 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003544/1.109, allocations: 1.256 MB / 1.248 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.004098/1.113, allocations: 2.48 MB / 1.25 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.006248/1.119, allocations: 2.541 MB / 1.253 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0135/1.133, allocations: 9.19 MB / 1.262 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/1.133, allocations: 0 / 1.262 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.873e-06/1.133, allocations: 3.938 kB / 1.262 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0003181/1.133, allocations: 0 / 1.262 GB, free: 2.805 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: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.01248/1.146, allocations: 4.41 MB / 1.266 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/1.146, allocations: 8.922 kB / 1.266 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005946/1.152, allocations: 1.052 MB / 1.267 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004942/1.157, allocations: 2.238 MB / 1.269 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000314/1.157, allocations: 325 kB / 1.27 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001528/1.159, allocations: 428.3 kB / 1.27 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01637/1.175, allocations: 7.408 MB / 1.277 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001571/1.175, allocations: 11.88 kB / 1.277 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001125/1.176, allocations: 188 kB / 1.277 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003506/1.177, allocations: 286.9 kB / 1.278 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01147/1.188, allocations: 6.026 MB / 1.284 GB, free: 12.08 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0401/1.228, allocations: 32.5 MB / 1.315 GB, free: 8.73 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003624/1.232, allocations: 2.138 MB / 1.317 GB, free: 6.555 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001719/1.234, allocations: 1.25 MB / 1.319 GB, free: 5.297 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/1.234, allocations: 106.1 kB / 1.319 GB, free: 5.176 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.108e-05/1.234, allocations: 47.56 kB / 1.319 GB, free: 5.121 MB / 1.045 GB Notification: Performance of pre-optimization done (n=98): time 4.418e-06/1.234, allocations: 0 / 1.319 GB, free: 5.121 MB / 1.045 GB Notification: Performance of matching and sorting (n=101): time 0.01115/1.245, allocations: 5.436 MB / 1.324 GB, free: 15.65 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/1.245, allocations: 145.5 kB / 1.324 GB, free: 15.48 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002834/1.248, allocations: 1.469 MB / 1.326 GB, free: 14 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/1.248, allocations: 49.7 kB / 1.326 GB, free: 13.94 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001417/1.25, allocations: 1.925 MB / 1.328 GB, free: 12 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004318/1.25, allocations: 396.7 kB / 1.328 GB, free: 11.61 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008424/1.251, allocations: 463.4 kB / 1.328 GB, free: 11.15 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001188/1.251, allocations: 309.1 kB / 1.329 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001903/1.253, allocations: 1.141 MB / 1.33 GB, free: 9.691 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002692/1.256, allocations: 2.223 MB / 1.332 GB, free: 6.949 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004427/1.26, allocations: 3.434 MB / 1.335 GB, free: 3.039 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-05/1.26, allocations: 12 kB / 1.335 GB, free: 3.027 MB / 1.061 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005744/1.266, allocations: 3.372 MB / 1.339 GB, free: 15.64 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.189e-05/1.266, allocations: 24.03 kB / 1.339 GB, free: 15.62 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.243e-05/1.266, allocations: 36 kB / 1.339 GB, free: 15.59 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.608e-05/1.266, allocations: 47.94 kB / 1.339 GB, free: 15.54 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002356/1.269, allocations: 0.6278 MB / 1.339 GB, free: 14.91 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.327e-05/1.269, allocations: 75.66 kB / 1.339 GB, free: 14.84 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002249/1.271, allocations: 323.1 kB / 1.34 GB, free: 14.52 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002984/1.271, allocations: 120 kB / 1.34 GB, free: 14.4 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004099/1.275, allocations: 2.428 MB / 1.342 GB, free: 11.96 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002621/1.278, allocations: 2.05 MB / 1.344 GB, free: 9.383 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003901/1.282, allocations: 3.064 MB / 1.347 GB, free: 5.828 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.417e-05/1.282, allocations: 8 kB / 1.347 GB, free: 5.82 MB / 1.076 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.005147/1.287, allocations: 2.985 MB / 1.35 GB, free: 2.832 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/1.287, allocations: 20.22 kB / 1.35 GB, free: 2.812 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.908e-05/1.287, allocations: 40 kB / 1.35 GB, free: 2.773 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.55e-05/1.287, allocations: 48.06 kB / 1.35 GB, free: 2.727 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001949/1.289, allocations: 0.5693 MB / 1.351 GB, free: 2.156 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.974e-05/1.289, allocations: 71.72 kB / 1.351 GB, free: 2.086 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/1.291, allocations: 267.2 kB / 1.351 GB, free: 1.824 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000201/1.292, allocations: 112 kB / 1.351 GB, free: 1.715 MB / 1.076 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.0006386/1.292, allocations: 339.3 kB / 1.352 GB, free: 1.375 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00047/1.293, allocations: 163 kB / 1.352 GB, free: 1.215 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003656/1.296, allocations: 2.246 MB / 1.354 GB, free: 14.95 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/1.296, allocations: 7.984 kB / 1.354 GB, free: 14.94 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/1.297, allocations: 3.938 kB / 1.354 GB, free: 14.94 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008306/1.297, allocations: 451.7 kB / 1.354 GB, free: 14.48 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003124/1.298, allocations: 16 kB / 1.354 GB, free: 14.46 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001679/1.299, allocations: 307.4 kB / 1.355 GB, free: 14.16 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/1.3, allocations: 56.92 kB / 1.355 GB, free: 14.11 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003916/1.303, allocations: 2.467 MB / 1.357 GB, free: 11.63 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003257/1.307, allocations: 2.502 MB / 1.36 GB, free: 9.105 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001272/1.308, allocations: 0.9679 MB / 1.36 GB, free: 8.137 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002148/1.31, allocations: 1.013 MB / 1.361 GB, free: 7.125 MB / 1.092 GB Notification: Performance of Backend: time 6.61e-07/1.31, allocations: 0 / 1.361 GB, free: 7.125 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00863/1.319, allocations: 3.535 MB / 1.365 GB, free: 3.598 MB / 1.092 GB Notification: Performance of SimCode: time 0.01378/1.333, allocations: 6.478 MB / 1.371 GB, free: 13.08 MB / 1.107 GB Notification: Performance of Templates: time 0.07384/1.407, allocations: 40.62 MB / 1.411 GB, free: 4.699 MB / 1.139 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches