Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001306/0.001313, allocations: 120 kB / 16.42 MB, free: 6.496 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.001428/0.001428, 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.305/2.305, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 67.89 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8786/0.8799, allocations: 140.4 MB / 1.089 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04766/0.9276, allocations: 37.27 MB / 1.125 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02628/0.9539, allocations: 13.71 MB / 1.138 GB, free: 3.578 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004957/0.9589, allocations: 113.8 kB / 1.139 GB, free: 3.555 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.006931/0.9659, allocations: 2.272 MB / 1.141 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005022/0.9709, allocations: 1.456 MB / 1.142 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.01071/0.9816, allocations: 3.522 MB / 1.146 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01011/0.9918, allocations: 6.393 MB / 1.152 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0159/1.008, allocations: 9.878 MB / 1.161 GB, free: 8.695 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005956/1.014, allocations: 2.764 MB / 1.164 GB, free: 7.418 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007786/1.022, allocations: 3.202 MB / 1.167 GB, free: 5.992 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.003206/1.025, allocations: 0.6209 MB / 1.168 GB, free: 5.992 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005305/1.03, allocations: 1.258 MB / 1.169 GB, free: 5.645 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.005419/1.036, allocations: 2.482 MB / 1.172 GB, free: 4.074 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.007656/1.043, allocations: 2.554 MB / 1.174 GB, free: 2.246 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01664/1.06, allocations: 9.164 MB / 1.183 GB, free: 11.55 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.144e-05/1.06, allocations: 0 / 1.183 GB, free: 11.55 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.743e-06/1.06, allocations: 1.156 kB / 1.183 GB, free: 11.55 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0004606/1.06, allocations: 0 / 1.183 GB, free: 11.55 MB / 0.92 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.01742/1.078, allocations: 4.305 MB / 1.187 GB, free: 8.668 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.853e-05/1.078, allocations: 8.625 kB / 1.187 GB, free: 8.668 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007626/1.086, allocations: 1.04 MB / 1.188 GB, free: 8.09 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008003/1.094, allocations: 2.23 MB / 1.19 GB, free: 5.816 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000356/1.094, allocations: 325 kB / 1.191 GB, free: 5.496 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00248/1.097, allocations: 428.3 kB / 1.191 GB, free: 5.078 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02172/1.118, allocations: 7.401 MB / 1.198 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002097/1.119, allocations: 15.84 kB / 1.198 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002176/1.121, allocations: 184 kB / 1.199 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004876/1.121, allocations: 290.9 kB / 1.199 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0157/1.137, allocations: 6.022 MB / 1.205 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0481/1.185, allocations: 32.45 MB / 1.236 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003517/1.189, allocations: 2.138 MB / 1.238 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001792/1.19, allocations: 1.24 MB / 1.24 GB, free: 204 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001621/1.191, allocations: 114.1 kB / 1.24 GB, free: 72 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.114e-05/1.191, allocations: 51.5 kB / 1.24 GB, free: 8 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=98): time 2.865e-06/1.191, allocations: 3.938 kB / 1.24 GB, free: 4 kB / 0.9669 GB Notification: Performance of matching and sorting (n=101): time 0.0102/1.201, allocations: 5.27 MB / 1.245 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.705e-05/1.201, allocations: 141.5 kB / 1.245 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002432/1.203, allocations: 1.476 MB / 1.247 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001511/1.204, allocations: 41.7 kB / 1.247 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001166/1.205, allocations: 1.859 MB / 1.248 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003964/1.205, allocations: 374.9 kB / 1.249 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007947/1.206, allocations: 470.9 kB / 1.249 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.09e-05/1.206, allocations: 301.1 kB / 1.25 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001782/1.208, allocations: 1.149 MB / 1.251 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00257/1.21, allocations: 2.215 MB / 1.253 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004326/1.215, allocations: 3.434 MB / 1.256 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-05/1.215, allocations: 8 kB / 1.256 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.00564/1.221, allocations: 3.362 MB / 1.259 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.639e-05/1.221, allocations: 23.94 kB / 1.259 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.134e-05/1.221, allocations: 32 kB / 1.26 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.878e-05/1.221, allocations: 48.75 kB / 1.26 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002537/1.223, allocations: 0.6356 MB / 1.26 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.752e-05/1.223, allocations: 71.72 kB / 1.26 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002595/1.226, allocations: 322.7 kB / 1.261 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002889/1.226, allocations: 120 kB / 1.261 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004871/1.231, allocations: 2.436 MB / 1.263 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002587/1.234, allocations: 2.035 MB / 1.265 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003829/1.238, allocations: 3.076 MB / 1.268 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.131e-05/1.238, allocations: 12 kB / 1.268 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.005008/1.243, allocations: 2.976 MB / 1.271 GB, free: 13.95 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.958e-05/1.243, allocations: 22.5 kB / 1.271 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.834e-05/1.243, allocations: 36 kB / 1.271 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.325e-05/1.243, allocations: 48.14 kB / 1.271 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001931/1.245, allocations: 0.5621 MB / 1.272 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.236e-05/1.245, allocations: 71.72 kB / 1.272 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002176/1.247, allocations: 270.9 kB / 1.272 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001996/1.247, allocations: 116 kB / 1.272 GB, free: 12.84 MB / 1.014 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.0005659/1.248, allocations: 339.2 kB / 1.272 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004398/1.248, allocations: 154.1 kB / 1.273 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003454/1.252, allocations: 2.246 MB / 1.275 GB, free: 10.09 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/1.252, allocations: 7.922 kB / 1.275 GB, free: 10.08 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/1.252, allocations: 7.938 kB / 1.275 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009737/1.253, allocations: 434.8 kB / 1.275 GB, free: 9.625 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003426/1.253, allocations: 24 kB / 1.275 GB, free: 9.602 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001688/1.255, allocations: 299.4 kB / 1.275 GB, free: 9.309 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/1.255, allocations: 56.92 kB / 1.276 GB, free: 9.254 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003479/1.258, allocations: 2.474 MB / 1.278 GB, free: 6.773 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002936/1.261, allocations: 2.498 MB / 1.28 GB, free: 4.25 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00128/1.263, allocations: 0.9719 MB / 1.281 GB, free: 3.277 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001792/1.265, allocations: 1.002 MB / 1.282 GB, free: 2.277 MB / 1.014 GB Notification: Performance of Backend: time 4.81e-07/1.265, allocations: 0 / 1.282 GB, free: 2.277 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.007021/1.272, allocations: 3.535 MB / 1.286 GB, free: 14.75 MB / 1.029 GB Notification: Performance of SimCode: time 0.014/1.286, allocations: 6.368 MB / 1.292 GB, free: 8.355 MB / 1.029 GB Notification: Performance of Templates: time 0.06763/1.353, allocations: 40.61 MB / 1.332 GB, free: 15.99 MB / 1.076 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches