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.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,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.001678/0.001678, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001989/0.001989, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.677/1.677, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.583/2.583, allocations: 469.4 MB / 0.7428 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 67.91 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9011/0.9025, allocations: 159.1 MB / 1.221 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04457/0.9471, allocations: 37.28 MB / 1.257 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02749/0.9747, allocations: 13.69 MB / 1.271 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004677/0.9794, allocations: 119.6 kB / 1.271 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006596/0.9861, allocations: 2.274 MB / 1.273 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004429/0.9905, allocations: 1.463 MB / 1.274 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009337/0.9999, allocations: 3.518 MB / 1.278 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00838/1.008, allocations: 6.399 MB / 1.284 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01455/1.023, allocations: 9.886 MB / 1.294 GB, free: 7.414 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004723/1.028, allocations: 2.762 MB / 1.296 GB, free: 4.645 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005277/1.033, allocations: 3.206 MB / 1.3 GB, free: 1.43 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001932/1.035, allocations: 0.6172 MB / 1.3 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003218/1.038, allocations: 1.26 MB / 1.301 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.003946/1.042, allocations: 2.48 MB / 1.304 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.005453/1.048, allocations: 2.549 MB / 1.306 GB, free: 10.51 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01104/1.059, allocations: 9.156 MB / 1.315 GB, free: 1.328 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/1.059, allocations: 0 / 1.315 GB, free: 1.328 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.214e-06/1.059, allocations: 0 / 1.315 GB, free: 1.328 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002969/1.059, allocations: 4 kB / 1.315 GB, free: 1.324 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.01244/1.071, allocations: 4.303 MB / 1.319 GB, free: 12.95 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/1.072, allocations: 12.56 kB / 1.319 GB, free: 12.94 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00613/1.078, allocations: 1.038 MB / 1.321 GB, free: 11.89 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00662/1.084, allocations: 2.226 MB / 1.323 GB, free: 9.621 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003628/1.085, allocations: 333 kB / 1.323 GB, free: 9.293 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001962/1.087, allocations: 428.3 kB / 1.323 GB, free: 8.875 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01884/1.106, allocations: 7.405 MB / 1.331 GB, free: 1.23 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001679/1.106, allocations: 11.88 kB / 1.331 GB, free: 1.219 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001296/1.107, allocations: 180 kB / 1.331 GB, free: 1.043 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003845/1.108, allocations: 294.9 kB / 1.331 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01291/1.12, allocations: 6.026 MB / 1.337 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04515/1.166, allocations: 32.45 MB / 1.369 GB, free: 7.418 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003893/1.17, allocations: 2.134 MB / 1.371 GB, free: 5.25 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00184/1.171, allocations: 1.244 MB / 1.372 GB, free: 3.996 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001975/1.172, allocations: 106.1 kB / 1.372 GB, free: 3.875 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/1.172, allocations: 55.5 kB / 1.372 GB, free: 3.812 MB / 1.092 GB Notification: Performance of pre-optimization done (n=98): time 2.855e-06/1.172, allocations: 0 / 1.372 GB, free: 3.812 MB / 1.092 GB Notification: Performance of matching and sorting (n=101): time 0.009703/1.181, allocations: 5.27 MB / 1.377 GB, free: 14.5 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/1.182, allocations: 149.4 kB / 1.377 GB, free: 14.32 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002292/1.184, allocations: 1.468 MB / 1.379 GB, free: 12.84 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002354/1.184, allocations: 41.7 kB / 1.379 GB, free: 12.79 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001268/1.185, allocations: 1.859 MB / 1.381 GB, free: 10.91 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005013/1.186, allocations: 378.8 kB / 1.381 GB, free: 10.53 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008367/1.187, allocations: 467.1 kB / 1.382 GB, free: 10.07 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 9.254e-05/1.187, allocations: 301.1 kB / 1.382 GB, free: 9.77 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001886/1.189, allocations: 1.145 MB / 1.383 GB, free: 8.613 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002717/1.191, allocations: 2.219 MB / 1.385 GB, free: 5.875 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004395/1.196, allocations: 3.431 MB / 1.388 GB, free: 1.969 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.782e-05/1.196, allocations: 8 kB / 1.388 GB, free: 1.961 MB / 1.107 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005544/1.201, allocations: 3.371 MB / 1.392 GB, free: 14.58 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.691e-05/1.202, allocations: 23.94 kB / 1.392 GB, free: 14.56 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-05/1.202, allocations: 32 kB / 1.392 GB, free: 14.53 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.751e-05/1.202, allocations: 48 kB / 1.392 GB, free: 14.48 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002288/1.204, allocations: 0.6317 MB / 1.392 GB, free: 13.85 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.096e-05/1.204, allocations: 67.67 kB / 1.393 GB, free: 13.78 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/1.206, allocations: 334.8 kB / 1.393 GB, free: 13.45 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002121/1.207, allocations: 116 kB / 1.393 GB, free: 13.34 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003751/1.21, allocations: 2.428 MB / 1.395 GB, free: 10.9 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002329/1.213, allocations: 2.043 MB / 1.397 GB, free: 8.324 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00383/1.217, allocations: 3.064 MB / 1.4 GB, free: 4.773 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.879e-05/1.217, allocations: 11.98 kB / 1.4 GB, free: 4.762 MB / 1.123 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.005252/1.222, allocations: 2.988 MB / 1.403 GB, free: 1.762 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/1.222, allocations: 24.03 kB / 1.403 GB, free: 1.738 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.211e-05/1.222, allocations: 35.94 kB / 1.403 GB, free: 1.703 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.744e-05/1.222, allocations: 48 kB / 1.403 GB, free: 1.656 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00196/1.224, allocations: 0.5615 MB / 1.404 GB, free: 1.094 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.708e-05/1.224, allocations: 67.78 kB / 1.404 GB, free: 1.027 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002385/1.226, allocations: 259 kB / 1.404 GB, free: 0.7734 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002429/1.227, allocations: 120 kB / 1.404 GB, free: 0.6562 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.00079/1.228, allocations: 343.8 kB / 1.405 GB, free: 320 kB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005655/1.228, allocations: 158 kB / 1.405 GB, free: 160 kB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003953/1.232, allocations: 2.235 MB / 1.407 GB, free: 13.91 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.93e-05/1.232, allocations: 7.969 kB / 1.407 GB, free: 13.9 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/1.232, allocations: 3.938 kB / 1.407 GB, free: 13.89 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/1.233, allocations: 439 kB / 1.407 GB, free: 13.45 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004307/1.234, allocations: 31.89 kB / 1.407 GB, free: 13.41 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001971/1.236, allocations: 303.4 kB / 1.408 GB, free: 13.12 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002308/1.236, allocations: 56.92 kB / 1.408 GB, free: 13.06 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003984/1.24, allocations: 2.47 MB / 1.41 GB, free: 10.59 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003465/1.243, allocations: 2.486 MB / 1.413 GB, free: 8.07 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001248/1.245, allocations: 0.9719 MB / 1.414 GB, free: 7.102 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002203/1.247, allocations: 1.005 MB / 1.415 GB, free: 6.098 MB / 1.139 GB Notification: Performance of Backend: time 1.393e-06/1.247, allocations: 0 / 1.415 GB, free: 6.098 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.008604/1.256, allocations: 3.535 MB / 1.418 GB, free: 2.57 MB / 1.139 GB Notification: Performance of SimCode: time 0.01414/1.27, allocations: 6.386 MB / 1.424 GB, free: 12.16 MB / 1.154 GB Notification: Performance of Templates: time 0.07098/1.341, allocations: 40.6 MB / 1.464 GB, free: 3.805 MB / 1.186 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