Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009968/0.0009968, allocations: 98.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 186.9 kB / 16.92 MB, free: 6.75 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.452/1.452, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.66/2.66, allocations: 437.8 MB / 0.7128 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003345/0.0003345, allocations: 8 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6439/0.6443, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005061/0.6494, allocations: 3.927 MB / 1.028 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003815/0.6532, allocations: 2.35 MB / 1.03 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003871/0.6537, allocations: 15.88 kB / 1.03 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000299/0.654, allocations: 63.42 kB / 1.03 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001051/0.655, allocations: 350.4 kB / 1.03 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009244/0.656, allocations: 299.4 kB / 1.031 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00104/0.657, allocations: 0.866 MB / 1.031 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000959/0.658, allocations: 458.6 kB / 1.032 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004565/0.6585, allocations: 219.1 kB / 1.032 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000459/0.6589, allocations: 262.8 kB / 1.032 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.36e-05/0.659, allocations: 16 kB / 1.032 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009281/0.66, allocations: 0.5262 MB / 1.033 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.6602, allocations: 127.5 kB / 1.033 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002907/0.6605, allocations: 248.4 kB / 1.033 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007862/0.6612, allocations: 0.5435 MB / 1.034 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.6613, allocations: 0 / 1.034 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.913e-06/0.6613, allocations: 3.938 kB / 1.034 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.987e-05/0.6613, allocations: 4 kB / 1.034 GB, free: 5.566 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001242/0.6625, allocations: 0.7053 MB / 1.034 GB, free: 4.812 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.6626, allocations: 12.03 kB / 1.034 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001559/0.6642, allocations: 184 kB / 1.035 GB, free: 4.621 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005645/0.6647, allocations: 408.5 kB / 1.035 GB, free: 4.184 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.6648, allocations: 25.38 kB / 1.035 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.246e-05/0.6649, allocations: 36.34 kB / 1.035 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008805/0.6657, allocations: 0.6588 MB / 1.036 GB, free: 3.371 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/0.6658, allocations: 7.938 kB / 1.036 GB, free: 3.363 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.418e-05/0.6658, allocations: 12 kB / 1.036 GB, free: 3.352 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.956e-05/0.6659, allocations: 55.91 kB / 1.036 GB, free: 3.297 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007384/0.6667, allocations: 499.3 kB / 1.036 GB, free: 2.809 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003314/0.67, allocations: 3.786 MB / 1.04 GB, free: 14.76 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/0.6717, allocations: 0.6402 MB / 1.041 GB, free: 14.09 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002635/0.672, allocations: 178.5 kB / 1.041 GB, free: 13.91 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.672, allocations: 4 kB / 1.041 GB, free: 13.91 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.6721, allocations: 38.56 kB / 1.041 GB, free: 13.86 MB / 0.795 GB Notification: Performance of pre-optimization done (n=30): time 2.414e-06/0.6721, allocations: 0 / 1.041 GB, free: 13.86 MB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.002291/0.6744, allocations: 1.285 MB / 1.042 GB, free: 12.5 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.6745, allocations: 106.8 kB / 1.042 GB, free: 12.37 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004277/0.6749, allocations: 401.8 kB / 1.042 GB, free: 11.97 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.6749, allocations: 29.7 kB / 1.043 GB, free: 11.94 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.6751, allocations: 287.4 kB / 1.043 GB, free: 11.65 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.757e-05/0.6752, allocations: 114.4 kB / 1.043 GB, free: 11.54 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.179e-05/0.6753, allocations: 41.7 kB / 1.043 GB, free: 11.49 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.6754, allocations: 358.8 kB / 1.043 GB, free: 11.13 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002554/0.6757, allocations: 173 kB / 1.043 GB, free: 10.96 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003953/0.6761, allocations: 375.2 kB / 1.044 GB, free: 10.5 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006978/0.6768, allocations: 0.5951 MB / 1.044 GB, free: 9.816 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.6768, allocations: 7.938 kB / 1.044 GB, free: 9.809 MB / 0.795 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001062/0.6779, allocations: 0.6752 MB / 1.045 GB, free: 9.117 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.6779, allocations: 8 kB / 1.045 GB, free: 9.109 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.6779, allocations: 8 kB / 1.045 GB, free: 9.102 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003412/0.6783, allocations: 102.4 kB / 1.045 GB, free: 8.992 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003853/0.6787, allocations: 111.8 kB / 1.045 GB, free: 8.883 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003101/0.6818, allocations: 4.036 MB / 1.049 GB, free: 4.441 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003417/0.6821, allocations: 31.97 kB / 1.049 GB, free: 4.41 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.732e-05/0.6822, allocations: 24 kB / 1.049 GB, free: 4.387 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002224/0.6824, allocations: 197.6 kB / 1.049 GB, free: 4.188 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.6826, allocations: 47.44 kB / 1.05 GB, free: 4.141 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008922/0.6834, allocations: 0.515 MB / 1.05 GB, free: 3.605 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.6835, allocations: 7.984 kB / 1.05 GB, free: 3.598 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.6835, allocations: 4 kB / 1.05 GB, free: 3.594 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.6835, allocations: 8 kB / 1.05 GB, free: 3.586 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/0.6853, allocations: 1.296 MB / 1.051 GB, free: 2.195 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.6853, allocations: 0 / 1.051 GB, free: 2.195 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.6855, allocations: 67.89 kB / 1.051 GB, free: 2.129 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002776/0.6858, allocations: 86.45 kB / 1.051 GB, free: 2.035 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.6859, allocations: 8.281 kB / 1.051 GB, free: 2.027 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00301/0.6889, allocations: 4.032 MB / 1.055 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.6889, allocations: 4 kB / 1.055 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009603/0.6899, allocations: 0.779 MB / 1.056 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00021/0.6901, allocations: 160.4 kB / 1.056 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.228e-05/0.6902, allocations: 11.94 kB / 1.056 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003096/0.6905, allocations: 19.97 kB / 1.056 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.814e-05/0.6906, allocations: 39.91 kB / 1.056 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.6906, allocations: 8 kB / 1.056 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002855/0.6909, allocations: 287.1 kB / 1.057 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6909, allocations: 0 / 1.057 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000683/0.6916, allocations: 120 kB / 1.057 GB, free: 12.11 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0001509/0.6918, allocations: 119.1 kB / 1.057 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001256/0.693, allocations: 0.8015 MB / 1.058 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.693, allocations: 0 / 1.058 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007285/0.6938, allocations: 0.5474 MB / 1.058 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.6949, allocations: 133.2 kB / 1.058 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.6965, allocations: 1.133 MB / 1.059 GB, free: 9.242 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/0.697, allocations: 0.8625 MB / 1.06 GB, free: 8.355 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.6971, allocations: 43.44 kB / 1.06 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of SimCode: time 1.012e-06/0.6971, allocations: 0 / 1.06 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of Templates: time 0.01418/0.7113, allocations: 11.02 MB / 1.071 GB, free: 13.3 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches