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.001783/0.001783, allocations: 108.5 kB / 16.41 MB, free: 6.441 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.001918/0.001918, allocations: 190.7 kB / 17.35 MB, free: 5.703 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.517/1.517, allocations: 222.9 MB / 241 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.659/2.659, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 64.31 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.083/1.085, 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.06284/1.148, allocations: 37.26 MB / 1.204 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.04691/1.195, allocations: 13.71 MB / 1.217 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006792/1.202, allocations: 111.7 kB / 1.217 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.01197/1.214, allocations: 2.283 MB / 1.219 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.009073/1.223, allocations: 1.455 MB / 1.221 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.01519/1.238, allocations: 3.516 MB / 1.224 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01182/1.25, allocations: 6.418 MB / 1.231 GB, free: 2.926 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01903/1.269, allocations: 9.886 MB / 1.24 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006285/1.275, allocations: 2.759 MB / 1.243 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006623/1.282, allocations: 3.202 MB / 1.246 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.002623/1.285, allocations: 0.6172 MB / 1.247 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004438/1.289, allocations: 1.256 MB / 1.248 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.005407/1.295, allocations: 2.48 MB / 1.25 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.008198/1.303, allocations: 2.553 MB / 1.253 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0165/1.319, allocations: 9.156 MB / 1.262 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.107e-05/1.319, allocations: 0 / 1.262 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.535e-06/1.32, allocations: 4 kB / 1.262 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0004718/1.32, allocations: 0 / 1.262 GB, free: 2.836 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.01829/1.338, allocations: 4.303 MB / 1.266 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.109e-05/1.338, allocations: 12.92 kB / 1.266 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006727/1.345, allocations: 1.038 MB / 1.267 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007514/1.353, allocations: 2.23 MB / 1.269 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005039/1.353, allocations: 329 kB / 1.269 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002559/1.356, allocations: 428.2 kB / 1.27 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02184/1.378, allocations: 7.408 MB / 1.277 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002945/1.378, allocations: 15.81 kB / 1.277 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002178/1.38, allocations: 188 kB / 1.277 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005578/1.381, allocations: 286.9 kB / 1.278 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01608/1.397, allocations: 6.026 MB / 1.283 GB, free: 12.23 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05483/1.452, allocations: 32.43 MB / 1.315 GB, free: 8.945 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004602/1.456, allocations: 2.146 MB / 1.317 GB, free: 6.762 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002101/1.459, allocations: 1.248 MB / 1.318 GB, free: 5.504 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002631/1.459, allocations: 110.1 kB / 1.319 GB, free: 5.379 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.36e-05/1.459, allocations: 47.56 kB / 1.319 GB, free: 5.324 MB / 1.045 GB Notification: Performance of pre-optimization done (n=98): time 6.692e-06/1.459, allocations: 0 / 1.319 GB, free: 5.324 MB / 1.045 GB Notification: Performance of matching and sorting (n=101): time 0.01229/1.471, allocations: 5.27 MB / 1.324 GB, free: 4 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.736e-05/1.471, allocations: 145.5 kB / 1.324 GB, free: 15.83 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003046/1.474, allocations: 1.472 MB / 1.325 GB, free: 14.35 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0003376/1.475, allocations: 45.7 kB / 1.325 GB, free: 14.3 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001515/1.476, allocations: 1.863 MB / 1.327 GB, free: 12.41 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006375/1.477, allocations: 374.8 kB / 1.327 GB, free: 12.04 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001182/1.478, allocations: 459.1 kB / 1.328 GB, free: 11.58 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001423/1.478, allocations: 301.1 kB / 1.328 GB, free: 11.28 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002276/1.481, allocations: 1.157 MB / 1.329 GB, free: 10.11 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003129/1.484, allocations: 2.211 MB / 1.332 GB, free: 7.383 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005194/1.489, allocations: 3.434 MB / 1.335 GB, free: 3.473 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.912e-05/1.489, allocations: 8 kB / 1.335 GB, free: 3.465 MB / 1.061 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.007146/1.496, allocations: 3.366 MB / 1.338 GB, free: 92 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.959e-05/1.496, allocations: 23.98 kB / 1.338 GB, free: 68 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-05/1.496, allocations: 32 kB / 1.338 GB, free: 36 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001085/1.497, allocations: 48.05 kB / 1.338 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002669/1.499, allocations: 0.6323 MB / 1.339 GB, free: 15.36 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-05/1.499, allocations: 71.66 kB / 1.339 GB, free: 15.29 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00265/1.502, allocations: 326.7 kB / 1.339 GB, free: 14.96 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000339/1.502, allocations: 116 kB / 1.339 GB, free: 14.85 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00491/1.507, allocations: 2.436 MB / 1.342 GB, free: 12.41 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003149/1.51, allocations: 2.039 MB / 1.344 GB, free: 9.836 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004499/1.515, allocations: 3.068 MB / 1.347 GB, free: 6.277 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.01e-05/1.515, allocations: 8 kB / 1.347 GB, free: 6.27 MB / 1.076 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.006066/1.521, allocations: 2.98 MB / 1.35 GB, free: 3.285 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.275e-05/1.521, allocations: 20 kB / 1.35 GB, free: 3.266 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-05/1.521, allocations: 32 kB / 1.35 GB, free: 3.234 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.178e-05/1.521, allocations: 52 kB / 1.35 GB, free: 3.184 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00223/1.524, allocations: 0.5659 MB / 1.35 GB, free: 2.617 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.473e-05/1.524, allocations: 67.73 kB / 1.35 GB, free: 2.551 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002408/1.526, allocations: 274.9 kB / 1.351 GB, free: 2.281 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002988/1.526, allocations: 116 kB / 1.351 GB, free: 2.168 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.0008501/1.527, allocations: 339.2 kB / 1.351 GB, free: 1.828 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006614/1.528, allocations: 154.1 kB / 1.351 GB, free: 1.676 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004442/1.532, allocations: 2.246 MB / 1.353 GB, free: 15.41 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3e-05/1.532, allocations: 7.984 kB / 1.353 GB, free: 15.4 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/1.532, allocations: 3.938 kB / 1.353 GB, free: 15.4 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001454/1.534, allocations: 442.8 kB / 1.354 GB, free: 14.95 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005984/1.535, allocations: 20 kB / 1.354 GB, free: 14.93 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002009/1.537, allocations: 299.4 kB / 1.354 GB, free: 14.63 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002334/1.537, allocations: 56.92 kB / 1.354 GB, free: 14.58 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004141/1.541, allocations: 2.474 MB / 1.357 GB, free: 12.09 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003621/1.545, allocations: 2.486 MB / 1.359 GB, free: 9.582 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001399/1.546, allocations: 0.9757 MB / 1.36 GB, free: 8.605 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002559/1.549, allocations: 1.002 MB / 1.361 GB, free: 7.605 MB / 1.092 GB Notification: Performance of Backend: time 3.1e-07/1.549, allocations: 0 / 1.361 GB, free: 7.605 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.008843/1.557, allocations: 3.545 MB / 1.364 GB, free: 4.07 MB / 1.092 GB Notification: Performance of SimCode: time 0.01814/1.576, allocations: 6.368 MB / 1.371 GB, free: 13.67 MB / 1.107 GB Notification: Performance of Templates: time 0.07703/1.653, allocations: 40.62 MB / 1.41 GB, free: 5.289 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