Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 106.3 kB / 16.41 MB, free: 5.973 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.001447/0.001447, allocations: 186.9 kB / 17.34 MB, free: 5.586 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.679/2.679, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 68.11 kB / 1.055 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9609/0.9622, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.0148/0.9771, allocations: 11.08 MB / 1.219 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01067/0.9878, allocations: 5.8 MB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001769/0.9896, allocations: 55.62 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004796/0.9945, allocations: 1.723 MB / 1.227 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0039/0.9984, allocations: 1.143 MB / 1.228 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002609/1.001, allocations: 0.8141 MB / 1.229 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00361/1.005, allocations: 2.127 MB / 1.231 GB, free: 6.789 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002143/1.007, allocations: 1.31 MB / 1.232 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001879/1.009, allocations: 0.8523 MB / 1.233 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001965/1.011, allocations: 0.9065 MB / 1.234 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0004814/1.011, allocations: 116 kB / 1.234 GB, free: 3.578 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00292/1.014, allocations: 1.173 MB / 1.235 GB, free: 2.402 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0008912/1.015, allocations: 0.5258 MB / 1.235 GB, free: 1.875 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001726/1.017, allocations: 0.7849 MB / 1.236 GB, free: 1.086 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004994/1.022, allocations: 2.42 MB / 1.239 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/1.022, allocations: 4 kB / 1.239 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.595e-06/1.022, allocations: 0 / 1.239 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001026/1.022, allocations: 0 / 1.239 GB, free: 14.66 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.00443/1.026, allocations: 1.875 MB / 1.24 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/1.026, allocations: 12.03 kB / 1.24 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004687/1.031, allocations: 0.6659 MB / 1.241 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002056/1.033, allocations: 1.004 MB / 1.242 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.4e-05/1.033, allocations: 98.83 kB / 1.242 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002949/1.034, allocations: 128.3 kB / 1.242 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00383/1.037, allocations: 2.214 MB / 1.244 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.374e-05/1.037, allocations: 11.88 kB / 1.244 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001772/1.038, allocations: 59.97 kB / 1.244 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002257/1.038, allocations: 166.3 kB / 1.245 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003279/1.041, allocations: 1.871 MB / 1.246 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01319/1.054, allocations: 12.44 MB / 1.259 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00434/1.059, allocations: 1.963 MB / 1.261 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008959/1.06, allocations: 0.605 MB / 1.261 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001763/1.06, allocations: 102.1 kB / 1.261 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/1.06, allocations: 47.56 kB / 1.261 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=103): time 2.856e-06/1.06, allocations: 0 / 1.261 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of matching and sorting (n=110): time 0.00669/1.067, allocations: 3.71 MB / 1.265 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/1.067, allocations: 64.41 kB / 1.265 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/1.068, allocations: 0.9242 MB / 1.266 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.224e-05/1.068, allocations: 41.7 kB / 1.266 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005406/1.069, allocations: 0.7236 MB / 1.267 GB, free: 420 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003578/1.069, allocations: 390.5 kB / 1.267 GB, free: 24 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004308/1.069, allocations: 283.3 kB / 1.267 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001052/1.07, allocations: 305.1 kB / 1.268 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009342/1.071, allocations: 0.6167 MB / 1.268 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/1.072, allocations: 1.109 MB / 1.269 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002372/1.074, allocations: 1.828 MB / 1.271 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.666e-05/1.074, allocations: 8 kB / 1.271 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003581/1.078, allocations: 2.092 MB / 1.273 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/1.078, allocations: 12.19 kB / 1.273 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.501e-05/1.078, allocations: 23.94 kB / 1.273 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008453/1.079, allocations: 258.7 kB / 1.273 GB, free: 9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/1.08, allocations: 375.4 kB / 1.274 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008941/1.089, allocations: 11.58 MB / 1.285 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/1.091, allocations: 132 kB / 1.285 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002288/1.091, allocations: 71.92 kB / 1.285 GB, free: 11.73 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008574/1.092, allocations: 405.1 kB / 1.286 GB, free: 11.32 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003345/1.092, allocations: 130.5 kB / 1.286 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003117/1.095, allocations: 1.681 MB / 1.287 GB, free: 9.48 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/1.095, allocations: 12 kB / 1.287 GB, free: 9.469 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/1.095, allocations: 0 / 1.287 GB, free: 9.469 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/1.095, allocations: 15.91 kB / 1.287 GB, free: 9.453 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005518/1.101, allocations: 3.291 MB / 1.291 GB, free: 6.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.457e-06/1.101, allocations: 4 kB / 1.291 GB, free: 6.016 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008779/1.102, allocations: 219.6 kB / 1.291 GB, free: 5.801 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007147/1.102, allocations: 243.3 kB / 1.291 GB, free: 5.539 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.938e-05/1.102, allocations: 31.94 kB / 1.291 GB, free: 5.508 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008934/1.111, allocations: 11.56 MB / 1.302 GB, free: 8.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.828e-06/1.111, allocations: 11.94 kB / 1.302 GB, free: 8.809 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003097/1.115, allocations: 1.796 MB / 1.304 GB, free: 6.902 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006889/1.115, allocations: 311.4 kB / 1.304 GB, free: 6.578 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003093/1.116, allocations: 20 kB / 1.304 GB, free: 6.559 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009349/1.117, allocations: 95.86 kB / 1.305 GB, free: 6.465 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000242/1.117, allocations: 96.7 kB / 1.305 GB, free: 6.371 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.469e-05/1.117, allocations: 36 kB / 1.305 GB, free: 6.336 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009299/1.118, allocations: 0.6177 MB / 1.305 GB, free: 5.711 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/1.118, allocations: 0 / 1.305 GB, free: 5.711 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001786/1.12, allocations: 392 kB / 1.306 GB, free: 5.328 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003081/1.12, allocations: 156.6 kB / 1.306 GB, free: 5.168 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003854/1.124, allocations: 2.5 MB / 1.308 GB, free: 2.566 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/1.124, allocations: 0.875 kB / 1.308 GB, free: 2.566 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002165/1.126, allocations: 1.633 MB / 1.31 GB, free: 0.8359 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002194/1.128, allocations: 357.4 kB / 1.31 GB, free: 0.4961 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005474/1.134, allocations: 2.847 MB / 1.313 GB, free: 13.55 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001267/1.135, allocations: 1.331 MB / 1.314 GB, free: 12.18 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004728/1.135, allocations: 111.4 kB / 1.314 GB, free: 12.07 MB / 1.045 GB Notification: Performance of SimCode: time 1.203e-06/1.135, allocations: 0 / 1.314 GB, free: 12.07 MB / 1.045 GB Notification: Performance of Templates: time 0.06578/1.201, allocations: 59.32 MB / 1.372 GB, free: 0.7422 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches