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.001887/0.001887, allocations: 104.8 kB / 16.27 MB, free: 6.418 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.001959/0.001959, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.46/1.46, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.54/2.54, allocations: 437 MB / 0.711 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 61.03 kB / 0.8699 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3021, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04471/0.3468, allocations: 37.28 MB / 1.054 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02398/0.3709, allocations: 13.7 MB / 1.068 GB, free: 7.5 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00372/0.3746, allocations: 115.6 kB / 1.068 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.006292/0.381, allocations: 2.275 MB / 1.07 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004238/0.3853, allocations: 1.439 MB / 1.071 GB, free: 3.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.009423/0.3947, allocations: 3.509 MB / 1.075 GB, free: 156 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.5072/0.9019, allocations: 6.384 MB / 1.081 GB, free: 22.07 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01678/0.9188, allocations: 10.02 MB / 1.091 GB, free: 19.95 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005543/0.9244, allocations: 2.727 MB / 1.094 GB, free: 19.86 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006436/0.9308, allocations: 3.196 MB / 1.097 GB, free: 19.55 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002917/0.9338, allocations: 0.6205 MB / 1.097 GB, free: 19.55 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005082/0.9389, allocations: 1.261 MB / 1.099 GB, free: 19.54 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.006023/0.945, allocations: 2.474 MB / 1.101 GB, free: 19.39 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.00859/0.9536, allocations: 2.55 MB / 1.103 GB, free: 18.8 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01649/0.9701, allocations: 9.106 MB / 1.112 GB, free: 16.71 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/0.9702, allocations: 3.562 kB / 1.112 GB, free: 16.71 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.485e-06/0.9702, allocations: 1.469 kB / 1.112 GB, free: 16.71 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0003619/0.9705, allocations: 0 / 1.112 GB, free: 16.71 MB / 0.8419 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.01716/0.9877, allocations: 4.305 MB / 1.117 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.9878, allocations: 10.11 kB / 1.117 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006736/0.9945, allocations: 1.03 MB / 1.118 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005885/1, allocations: 2.195 MB / 1.12 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004689/1.001, allocations: 326.9 kB / 1.12 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00274/1.004, allocations: 428.8 kB / 1.12 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02178/1.026, allocations: 7.402 MB / 1.128 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003064/1.026, allocations: 16.47 kB / 1.128 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002085/1.028, allocations: 191.7 kB / 1.128 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004348/1.028, allocations: 287.2 kB / 1.128 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0144/1.043, allocations: 6.03 MB / 1.134 GB, free: 7.051 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04279/1.086, allocations: 32.7 MB / 1.166 GB, free: 8.891 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003699/1.089, allocations: 2.152 MB / 1.168 GB, free: 6.711 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001721/1.091, allocations: 1.24 MB / 1.169 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001893/1.091, allocations: 110 kB / 1.169 GB, free: 5.34 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/1.091, allocations: 50.75 kB / 1.169 GB, free: 5.281 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=98): time 3.356e-06/1.091, allocations: 0 / 1.169 GB, free: 5.281 MB / 0.8731 GB Notification: Performance of matching and sorting (n=101): time 0.008758/1.1, allocations: 5.273 MB / 1.175 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.462e-05/1.1, allocations: 145.5 kB / 1.175 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00214/1.102, allocations: 1.464 MB / 1.176 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002198/1.103, allocations: 49.7 kB / 1.176 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001294/1.104, allocations: 1.864 MB / 1.178 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005261/1.105, allocations: 371.5 kB / 1.178 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007732/1.105, allocations: 459.1 kB / 1.179 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000103/1.105, allocations: 301.1 kB / 1.179 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00192/1.107, allocations: 1.149 MB / 1.18 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002726/1.11, allocations: 2.216 MB / 1.182 GB, free: 7.398 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00455/1.115, allocations: 3.434 MB / 1.186 GB, free: 3.629 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.067e-05/1.115, allocations: 15.56 kB / 1.186 GB, free: 3.617 MB / 0.8887 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005988/1.121, allocations: 3.369 MB / 1.189 GB, free: 444 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.81e-05/1.121, allocations: 25.16 kB / 1.189 GB, free: 420 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.422e-05/1.121, allocations: 36 kB / 1.189 GB, free: 384 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.553e-05/1.121, allocations: 44 kB / 1.189 GB, free: 340 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002419/1.123, allocations: 0.6302 MB / 1.19 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-05/1.123, allocations: 75.09 kB / 1.19 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002423/1.126, allocations: 322.9 kB / 1.19 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003023/1.126, allocations: 120 kB / 1.19 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004816/1.131, allocations: 2.432 MB / 1.193 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00258/1.134, allocations: 2.043 MB / 1.195 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004104/1.138, allocations: 3.065 MB / 1.198 GB, free: 6.844 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.395e-05/1.138, allocations: 12 kB / 1.198 GB, free: 6.832 MB / 0.9044 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.005497/1.143, allocations: 2.982 MB / 1.201 GB, free: 4.051 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/1.143, allocations: 24.06 kB / 1.201 GB, free: 4.027 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.536e-05/1.143, allocations: 36 kB / 1.201 GB, free: 3.992 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.951e-05/1.144, allocations: 48 kB / 1.201 GB, free: 3.945 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002095/1.146, allocations: 0.5596 MB / 1.201 GB, free: 3.422 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.678e-05/1.146, allocations: 72.3 kB / 1.201 GB, free: 3.367 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002409/1.148, allocations: 263 kB / 1.202 GB, free: 3.109 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000285/1.148, allocations: 112 kB / 1.202 GB, free: 3 MB / 0.9044 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.0006704/1.149, allocations: 340.2 kB / 1.202 GB, free: 2.699 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004896/1.15, allocations: 158 kB / 1.202 GB, free: 2.543 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003818/1.153, allocations: 2.238 MB / 1.204 GB, free: 288 kB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/1.153, allocations: 15.98 kB / 1.204 GB, free: 272 kB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/1.153, allocations: 3.938 kB / 1.204 GB, free: 268 kB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/1.154, allocations: 11.98 kB / 1.204 GB, free: 256 kB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01774/1.171, allocations: 11 MB / 1.215 GB, free: 5.109 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.242e-05/1.171, allocations: 11.28 kB / 1.215 GB, free: 5.102 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001646/1.173, allocations: 391.6 kB / 1.215 GB, free: 4.73 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-05/1.173, allocations: 16 kB / 1.215 GB, free: 4.715 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001347/1.173, allocations: 32 kB / 1.215 GB, free: 4.684 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.197e-05/1.173, allocations: 26.36 kB / 1.215 GB, free: 4.664 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.204e-05/1.173, allocations: 14.81 kB / 1.216 GB, free: 4.652 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003785/1.177, allocations: 2.763 MB / 1.218 GB, free: 1.742 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/1.178, allocations: 458.8 kB / 1.219 GB, free: 1.273 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004428/1.179, allocations: 31.94 kB / 1.219 GB, free: 1.242 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001587/1.18, allocations: 175.7 kB / 1.219 GB, free: 1.07 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002405/1.18, allocations: 96.03 kB / 1.219 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.895e-05/1.181, allocations: 44 kB / 1.219 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001987/1.183, allocations: 1.002 MB / 1.22 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.1e-07/1.183, allocations: 0 / 1.22 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.005484/1.188, allocations: 1.139 MB / 1.221 GB, free: 14.8 MB / 0.9356 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.0004388/1.189, allocations: 155 kB / 1.221 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.007652/1.196, allocations: 4.294 MB / 1.225 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.916e-05/1.196, allocations: 4 kB / 1.225 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001679/1.198, allocations: 1.055 MB / 1.226 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00314/1.201, allocations: 444.5 kB / 1.227 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01649/1.218, allocations: 7.734 MB / 1.234 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005341/1.223, allocations: 2.946 MB / 1.237 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008319/1.224, allocations: 143.4 kB / 1.237 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of SimCode: time 7.62e-07/1.224, allocations: 0 / 1.237 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of Templates: time 0.06489/1.289, allocations: 41.15 MB / 1.278 GB, free: 5.129 MB / 0.9825 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