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.001436/0.001436, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001564/0.001564, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.07 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.399/2.399, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001544, allocations: 60.12 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8322/0.8338, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04367/0.8775, allocations: 37.28 MB / 1.204 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02309/0.9007, allocations: 13.69 MB / 1.217 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004234/0.905, allocations: 119.6 kB / 1.217 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.006758/0.9118, allocations: 2.271 MB / 1.219 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005756/0.9176, allocations: 1.459 MB / 1.221 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.009756/0.9274, allocations: 3.516 MB / 1.224 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.007821/0.9352, allocations: 6.414 MB / 1.231 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01359/0.9489, allocations: 9.889 MB / 1.24 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004942/0.9539, allocations: 2.758 MB / 1.243 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005826/0.9597, allocations: 3.202 MB / 1.246 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.00205/0.9618, allocations: 0.6211 MB / 1.247 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003546/0.9654, allocations: 1.252 MB / 1.248 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.004041/0.9695, allocations: 2.476 MB / 1.25 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.006264/0.9758, allocations: 2.549 MB / 1.253 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01237/0.9882, allocations: 9.168 MB / 1.262 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.162e-05/0.9882, allocations: 8 kB / 1.262 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.675e-06/0.9882, allocations: 0 / 1.262 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0003444/0.9886, allocations: 4 kB / 1.262 GB, free: 2.832 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.01317/1.002, allocations: 4.295 MB / 1.266 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/1.002, allocations: 12.92 kB / 1.266 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005994/1.008, allocations: 1.042 MB / 1.267 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00614/1.014, allocations: 2.226 MB / 1.269 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003254/1.014, allocations: 325 kB / 1.269 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001524/1.016, allocations: 432.2 kB / 1.27 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01597/1.032, allocations: 7.408 MB / 1.277 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001848/1.032, allocations: 11.88 kB / 1.277 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001312/1.033, allocations: 184 kB / 1.277 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003845/1.034, allocations: 290.9 kB / 1.278 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0129/1.047, allocations: 6.022 MB / 1.283 GB, free: 12.24 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04397/1.091, allocations: 32.45 MB / 1.315 GB, free: 8.945 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003895/1.095, allocations: 2.146 MB / 1.317 GB, free: 6.762 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001789/1.097, allocations: 1.244 MB / 1.318 GB, free: 5.508 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002139/1.097, allocations: 110.1 kB / 1.319 GB, free: 5.383 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/1.097, allocations: 51.5 kB / 1.319 GB, free: 5.324 MB / 1.045 GB Notification: Performance of pre-optimization done (n=98): time 3.597e-06/1.097, allocations: 0 / 1.319 GB, free: 5.324 MB / 1.045 GB Notification: Performance of matching and sorting (n=101): time 0.009965/1.107, allocations: 5.266 MB / 1.324 GB, free: 8 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/1.107, allocations: 149.4 kB / 1.324 GB, free: 15.83 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00236/1.109, allocations: 1.468 MB / 1.325 GB, free: 14.35 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002453/1.11, allocations: 45.7 kB / 1.325 GB, free: 14.3 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001265/1.111, allocations: 1.855 MB / 1.327 GB, free: 12.42 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005459/1.111, allocations: 382.8 kB / 1.327 GB, free: 12.04 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008955/1.112, allocations: 463.1 kB / 1.328 GB, free: 11.58 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.667e-05/1.112, allocations: 301.1 kB / 1.328 GB, free: 11.28 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001846/1.114, allocations: 1.145 MB / 1.329 GB, free: 10.12 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002781/1.117, allocations: 2.219 MB / 1.332 GB, free: 7.387 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004793/1.122, allocations: 3.427 MB / 1.335 GB, free: 3.484 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.031e-05/1.122, allocations: 8 kB / 1.335 GB, free: 3.477 MB / 1.061 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005865/1.128, allocations: 3.371 MB / 1.338 GB, free: 100 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/1.128, allocations: 20 kB / 1.338 GB, free: 80 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.547e-05/1.128, allocations: 32 kB / 1.338 GB, free: 48 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.166e-05/1.128, allocations: 48 kB / 1.338 GB, free: 0 / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00241/1.13, allocations: 0.6317 MB / 1.339 GB, free: 15.36 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-05/1.131, allocations: 71.72 kB / 1.339 GB, free: 15.29 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002288/1.133, allocations: 330.8 kB / 1.339 GB, free: 14.97 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003304/1.133, allocations: 123.7 kB / 1.339 GB, free: 14.85 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004009/1.137, allocations: 2.428 MB / 1.342 GB, free: 12.41 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002421/1.14, allocations: 2.043 MB / 1.344 GB, free: 9.84 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003861/1.144, allocations: 3.064 MB / 1.347 GB, free: 6.285 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.207e-05/1.144, allocations: 12 kB / 1.347 GB, free: 6.273 MB / 1.076 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.005561/1.149, allocations: 2.977 MB / 1.35 GB, free: 3.293 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.625e-05/1.149, allocations: 31.95 kB / 1.35 GB, free: 3.262 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.491e-05/1.149, allocations: 36 kB / 1.35 GB, free: 3.227 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.152e-05/1.149, allocations: 48 kB / 1.35 GB, free: 3.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001944/1.151, allocations: 0.5576 MB / 1.35 GB, free: 2.621 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.383e-05/1.151, allocations: 71.72 kB / 1.35 GB, free: 2.551 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/1.153, allocations: 267.1 kB / 1.351 GB, free: 2.289 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002442/1.154, allocations: 119.9 kB / 1.351 GB, free: 2.172 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.0006171/1.154, allocations: 335.3 kB / 1.351 GB, free: 1.836 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004344/1.155, allocations: 162.2 kB / 1.351 GB, free: 1.676 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003503/1.158, allocations: 2.238 MB / 1.353 GB, free: 15.42 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/1.158, allocations: 15.94 kB / 1.353 GB, free: 15.4 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.954e-06/1.158, allocations: 0 / 1.353 GB, free: 15.4 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/1.158, allocations: 11.97 kB / 1.353 GB, free: 15.39 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01674/1.175, allocations: 10.99 MB / 1.364 GB, free: 4.156 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.521e-05/1.175, allocations: 8 kB / 1.364 GB, free: 4.148 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001543/1.177, allocations: 391.3 kB / 1.365 GB, free: 3.766 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-05/1.177, allocations: 16.72 kB / 1.365 GB, free: 3.75 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001319/1.177, allocations: 32 kB / 1.365 GB, free: 3.719 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-05/1.177, allocations: 27.92 kB / 1.365 GB, free: 3.691 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.171e-05/1.177, allocations: 19.88 kB / 1.365 GB, free: 3.672 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003579/1.18, allocations: 2.751 MB / 1.367 GB, free: 0.7539 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/1.182, allocations: 454.8 kB / 1.368 GB, free: 296 kB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003628/1.182, allocations: 39.89 kB / 1.368 GB, free: 256 kB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/1.183, allocations: 171.7 kB / 1.368 GB, free: 84 kB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002719/1.184, allocations: 104.2 kB / 1.368 GB, free: 15.98 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/1.184, allocations: 35.94 kB / 1.368 GB, free: 15.95 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001823/1.186, allocations: 1.013 MB / 1.369 GB, free: 14.93 MB / 1.107 GB Notification: Performance of sort global known variables: time 3.41e-07/1.186, allocations: 3.938 kB / 1.369 GB, free: 14.93 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.004617/1.19, allocations: 1.137 MB / 1.37 GB, free: 13.79 MB / 1.107 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 (104): * Single equations (assignments): 104 * 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.000394/1.191, allocations: 146.9 kB / 1.37 GB, free: 13.64 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.006798/1.197, allocations: 4.071 MB / 1.374 GB, free: 9.586 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/1.198, allocations: 0 / 1.374 GB, free: 9.586 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001523/1.199, allocations: 1.056 MB / 1.375 GB, free: 8.531 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002582/1.202, allocations: 462 kB / 1.376 GB, free: 8.109 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/1.215, allocations: 7.649 MB / 1.383 GB, free: 276 kB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004309/1.22, allocations: 2.95 MB / 1.386 GB, free: 13.29 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008065/1.221, allocations: 139.4 kB / 1.386 GB, free: 13.15 MB / 1.123 GB Notification: Performance of SimCode: time 5.21e-07/1.221, allocations: 0 / 1.386 GB, free: 13.15 MB / 1.123 GB Notification: Performance of Templates: time 0.05948/1.28, allocations: 41.38 MB / 1.427 GB, free: 3.875 MB / 1.154 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