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.001524/0.001529, allocations: 109.3 kB / 16.41 MB, free: 6.488 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.001542/0.001542, allocations: 183 kB / 17.34 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.1 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.177/2.177, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001473, allocations: 63.89 kB / 0.9515 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.766/0.7675, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04628/0.8138, allocations: 37.28 MB / 1.125 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02732/0.8412, allocations: 13.7 MB / 1.138 GB, free: 3.305 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005543/0.8468, allocations: 118.1 kB / 1.139 GB, free: 3.277 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.007417/0.8543, allocations: 2.28 MB / 1.141 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005729/0.8601, allocations: 1.452 MB / 1.142 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.01172/0.8718, allocations: 3.52 MB / 1.146 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01146/0.8833, allocations: 6.401 MB / 1.152 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01666/0.9, allocations: 9.881 MB / 1.161 GB, free: 8.41 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006236/0.9063, allocations: 2.764 MB / 1.164 GB, free: 7.133 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007263/0.9136, allocations: 3.197 MB / 1.167 GB, free: 5.734 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.003226/0.9169, allocations: 0.621 MB / 1.168 GB, free: 5.734 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005338/0.9222, allocations: 1.261 MB / 1.169 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0055/0.9278, allocations: 2.479 MB / 1.172 GB, free: 3.816 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.007771/0.9356, allocations: 2.549 MB / 1.174 GB, free: 1.992 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0157/0.9513, allocations: 9.166 MB / 1.183 GB, free: 11.3 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.9514, allocations: 0 / 1.183 GB, free: 11.3 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.984e-06/0.9514, allocations: 0 / 1.183 GB, free: 11.3 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003463/0.9518, allocations: 1.281 kB / 1.183 GB, free: 11.3 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.01797/0.9697, allocations: 4.309 MB / 1.187 GB, free: 8.41 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.9698, allocations: 9.656 kB / 1.187 GB, free: 8.41 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006762/0.9766, allocations: 1.034 MB / 1.188 GB, free: 7.879 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005844/0.9825, allocations: 2.226 MB / 1.19 GB, free: 5.609 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000343/0.9828, allocations: 333 kB / 1.191 GB, free: 5.281 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00216/0.985, allocations: 424.3 kB / 1.191 GB, free: 4.867 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02125/1.006, allocations: 7.405 MB / 1.198 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002065/1.007, allocations: 15.84 kB / 1.198 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001979/1.009, allocations: 184 kB / 1.199 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004001/1.009, allocations: 286.9 kB / 1.199 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01489/1.024, allocations: 6.022 MB / 1.205 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04619/1.07, allocations: 32.46 MB / 1.236 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00375/1.074, allocations: 2.146 MB / 1.238 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001689/1.076, allocations: 1.236 MB / 1.24 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001945/1.076, allocations: 110 kB / 1.24 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/1.076, allocations: 47.5 kB / 1.24 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=98): time 2.936e-06/1.076, allocations: 0 / 1.24 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of matching and sorting (n=101): time 0.008839/1.085, allocations: 5.27 MB / 1.245 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.136e-05/1.085, allocations: 149.5 kB / 1.245 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002082/1.087, allocations: 1.476 MB / 1.247 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002561/1.087, allocations: 41.7 kB / 1.247 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001365/1.089, allocations: 1.863 MB / 1.248 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005444/1.089, allocations: 374.8 kB / 1.249 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007274/1.09, allocations: 463 kB / 1.249 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.89e-05/1.09, allocations: 305.1 kB / 1.25 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/1.092, allocations: 1.145 MB / 1.251 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002494/1.094, allocations: 2.211 MB / 1.253 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004323/1.099, allocations: 3.435 MB / 1.256 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-05/1.099, allocations: 12 kB / 1.256 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005656/1.104, allocations: 3.37 MB / 1.259 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.695e-05/1.104, allocations: 20 kB / 1.259 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-05/1.104, allocations: 36 kB / 1.26 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.668e-05/1.105, allocations: 48 kB / 1.26 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002263/1.107, allocations: 0.6361 MB / 1.26 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-05/1.107, allocations: 67.78 kB / 1.26 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002194/1.109, allocations: 318.7 kB / 1.261 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001986/1.109, allocations: 120 kB / 1.261 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004076/1.113, allocations: 2.432 MB / 1.263 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002307/1.116, allocations: 2.05 MB / 1.265 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00388/1.12, allocations: 3.068 MB / 1.268 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.975e-05/1.12, allocations: 8 kB / 1.268 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.005003/1.125, allocations: 2.972 MB / 1.271 GB, free: 13.74 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/1.125, allocations: 20 kB / 1.271 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-05/1.125, allocations: 36 kB / 1.271 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.176e-05/1.125, allocations: 48 kB / 1.271 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001875/1.127, allocations: 0.5698 MB / 1.272 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.947e-05/1.127, allocations: 75.66 kB / 1.272 GB, free: 12.99 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002107/1.129, allocations: 263 kB / 1.272 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001921/1.129, allocations: 116 kB / 1.272 GB, free: 12.62 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.0006069/1.13, allocations: 331.3 kB / 1.272 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004442/1.13, allocations: 158.1 kB / 1.273 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003763/1.134, allocations: 2.254 MB / 1.275 GB, free: 9.867 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/1.134, allocations: 15.94 kB / 1.275 GB, free: 9.852 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/1.134, allocations: 8.062 kB / 1.275 GB, free: 9.844 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/1.134, allocations: 3.984 kB / 1.275 GB, free: 9.84 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01646/1.15, allocations: 10.99 MB / 1.285 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.559e-05/1.151, allocations: 12.22 kB / 1.285 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001443/1.152, allocations: 383.3 kB / 1.286 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.58e-05/1.152, allocations: 16 kB / 1.286 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.304e-05/1.152, allocations: 35.94 kB / 1.286 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.698e-05/1.152, allocations: 23.92 kB / 1.286 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.11e-05/1.152, allocations: 15.94 kB / 1.286 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003364/1.156, allocations: 2.759 MB / 1.289 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009128/1.157, allocations: 458.8 kB / 1.289 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002754/1.157, allocations: 39.89 kB / 1.289 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/1.158, allocations: 171.7 kB / 1.289 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002218/1.158, allocations: 96.23 kB / 1.289 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.331e-05/1.158, allocations: 40 kB / 1.289 GB, free: 10.39 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001555/1.16, allocations: 1.005 MB / 1.29 GB, free: 9.391 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.41e-07/1.16, allocations: 0 / 1.29 GB, free: 9.391 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.004271/1.164, allocations: 1.137 MB / 1.291 GB, free: 8.254 MB / 1.029 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.0003186/1.165, allocations: 150.9 kB / 1.292 GB, free: 8.098 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.006255/1.171, allocations: 4.075 MB / 1.296 GB, free: 4.035 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-05/1.171, allocations: 4 kB / 1.296 GB, free: 4.031 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001462/1.172, allocations: 1.055 MB / 1.297 GB, free: 2.977 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002673/1.175, allocations: 455.9 kB / 1.297 GB, free: 2.562 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/1.189, allocations: 7.634 MB / 1.305 GB, free: 10.73 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003563/1.192, allocations: 2.946 MB / 1.307 GB, free: 7.758 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008168/1.193, allocations: 143.4 kB / 1.308 GB, free: 7.617 MB / 1.045 GB Notification: Performance of SimCode: time 8.82e-07/1.193, allocations: 0 / 1.308 GB, free: 7.617 MB / 1.045 GB Notification: Performance of Templates: time 0.05898/1.252, allocations: 41.38 MB / 1.348 GB, free: 14.36 MB / 1.092 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