Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001342/0.001342, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001724/0.001725, allocations: 191.4 kB / 16.14 MB, free: 6.711 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 / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.786/2.786, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 64.77 kB / 0.8984 GB, free: 37.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2801, allocations: 157.4 MB / 1.052 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005644/0.2858, allocations: 4.322 MB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003485/0.2893, allocations: 2.397 MB / 1.059 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000182/0.2895, allocations: 19.81 kB / 1.059 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0009676/0.2905, allocations: 338.7 kB / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0007294/0.2912, allocations: 338.5 kB / 1.059 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006977/0.2919, allocations: 291.4 kB / 1.06 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007836/0.2927, allocations: 0.8777 MB / 1.06 GB, free: 264 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004598/0.2932, allocations: 250 kB / 1.061 GB, free: 8 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002984/0.2935, allocations: 227 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003326/0.2938, allocations: 266.8 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.512e-05/0.2939, allocations: 20 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008231/0.2947, allocations: 0.5301 MB / 1.062 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.2949, allocations: 143.5 kB / 1.062 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002314/0.2951, allocations: 226.7 kB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008547/0.296, allocations: 0.7477 MB / 1.063 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.296, allocations: 0 / 1.063 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.71e-07/0.296, allocations: 0 / 1.063 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.296, allocations: 0 / 1.063 GB, free: 13.86 MB / 0.8262 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.00113/0.2972, allocations: 0.7884 MB / 1.064 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.2972, allocations: 12.03 kB / 1.064 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/0.2986, allocations: 184.1 kB / 1.064 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005217/0.2991, allocations: 404.5 kB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.2991, allocations: 25.36 kB / 1.064 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.623e-05/0.2992, allocations: 36.31 kB / 1.064 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008686/0.3001, allocations: 0.6471 MB / 1.065 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.3001, allocations: 11.94 kB / 1.065 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.456e-05/0.3002, allocations: 15.98 kB / 1.065 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.69e-05/0.3002, allocations: 51.95 kB / 1.065 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006953/0.3009, allocations: 0.493 MB / 1.065 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003211/0.3042, allocations: 3.79 MB / 1.069 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.3059, allocations: 0.6283 MB / 1.07 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002598/0.3062, allocations: 182.5 kB / 1.07 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.3062, allocations: 0 / 1.07 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.3062, allocations: 38.5 kB / 1.07 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 2.655e-06/0.3062, allocations: 0 / 1.07 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.002158/0.3084, allocations: 1.281 MB / 1.071 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.3085, allocations: 106.8 kB / 1.071 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003671/0.3088, allocations: 401.8 kB / 1.072 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/0.3089, allocations: 33.7 kB / 1.072 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.3091, allocations: 279.5 kB / 1.072 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.308e-05/0.3092, allocations: 114.4 kB / 1.072 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.3093, allocations: 102.1 kB / 1.072 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3095, allocations: 362.7 kB / 1.072 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.3097, allocations: 177 kB / 1.073 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004001/0.3101, allocations: 367.3 kB / 1.073 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007105/0.3109, allocations: 0.5874 MB / 1.074 GB, free: 2 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.3109, allocations: 11.94 kB / 1.074 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001035/0.3119, allocations: 0.6712 MB / 1.074 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.868e-05/0.3119, allocations: 8 kB / 1.074 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.312, allocations: 4 kB / 1.074 GB, free: 1.289 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003455/0.3123, allocations: 98.88 kB / 1.074 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/0.3127, allocations: 115.8 kB / 1.074 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003157/0.3158, allocations: 4.036 MB / 1.078 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002986/0.3162, allocations: 27.97 kB / 1.078 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.513e-05/0.3162, allocations: 24 kB / 1.078 GB, free: 12.59 MB / 0.8419 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.000234/0.3164, allocations: 201.7 kB / 1.079 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.3166, allocations: 51.44 kB / 1.079 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000944/0.3175, allocations: 0.5185 MB / 1.079 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3175, allocations: 8 kB / 1.079 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.3176, allocations: 0 / 1.079 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.3176, allocations: 3.984 kB / 1.079 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001808/0.3194, allocations: 1.284 MB / 1.08 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.3194, allocations: 4 kB / 1.08 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/0.3197, allocations: 63.89 kB / 1.081 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002593/0.3199, allocations: 94.72 kB / 1.081 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.32, allocations: 12 kB / 1.081 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003013/0.323, allocations: 4.029 MB / 1.085 GB, free: 5.793 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.323, allocations: 8.156 kB / 1.085 GB, free: 5.785 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009295/0.3239, allocations: 0.7741 MB / 1.085 GB, free: 4.953 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001827/0.3241, allocations: 152.5 kB / 1.085 GB, free: 4.785 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.541e-05/0.3242, allocations: 15.94 kB / 1.086 GB, free: 4.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000295/0.3245, allocations: 19.97 kB / 1.086 GB, free: 4.75 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.199e-05/0.3246, allocations: 47.88 kB / 1.086 GB, free: 4.703 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.3246, allocations: 8 kB / 1.086 GB, free: 4.695 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002785/0.3249, allocations: 283.1 kB / 1.086 GB, free: 4.426 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3249, allocations: 0 / 1.086 GB, free: 4.426 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006681/0.3256, allocations: 120 kB / 1.086 GB, free: 4.309 MB / 0.8419 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.0001527/0.3257, allocations: 119.1 kB / 1.086 GB, free: 4.18 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001208/0.3269, allocations: 0.8015 MB / 1.087 GB, free: 3.34 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3269, allocations: 0 / 1.087 GB, free: 3.34 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000712/0.3277, allocations: 0.552 MB / 1.087 GB, free: 2.75 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008808/0.3286, allocations: 127.5 kB / 1.088 GB, free: 2.629 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.3299, allocations: 1.077 MB / 1.089 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.3304, allocations: 0.8625 MB / 1.089 GB, free: 0.6094 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002675/0.3306, allocations: 104.5 kB / 1.09 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.941e-05/0.3307, allocations: 35.44 kB / 1.09 GB, free: 480 kB / 0.8419 GB Notification: Performance of SimCode: time 4.51e-07/0.3307, allocations: 0 / 1.09 GB, free: 480 kB / 0.8419 GB Notification: Performance of Templates: time 0.01166/0.3424, allocations: 5.544 MB / 1.095 GB, free: 10.98 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches