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.001354/0.001354, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001705/0.001705, allocations: 191.4 kB / 16.25 MB, free: 6.629 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.341/1.341, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.673/2.673, allocations: 461.9 MB / 0.7343 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 66.53 kB / 0.8986 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3379, allocations: 157.4 MB / 1.052 GB, free: 8.703 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006025/0.344, allocations: 4.315 MB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003546/0.3475, allocations: 2.358 MB / 1.059 GB, free: 2 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003958/0.348, allocations: 15.88 kB / 1.059 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.3492, allocations: 354.6 kB / 1.059 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0009516/0.3501, allocations: 346.5 kB / 1.059 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007967/0.3509, allocations: 286.6 kB / 1.06 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0008131/0.3518, allocations: 0.6906 MB / 1.06 GB, free: 336 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005111/0.3523, allocations: 278 kB / 1.061 GB, free: 52 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004339/0.3527, allocations: 259 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004134/0.3532, allocations: 278.9 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.059e-05/0.3532, allocations: 36 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000681/0.3539, allocations: 422.9 kB / 1.062 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.3541, allocations: 143.5 kB / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002646/0.3544, allocations: 238.7 kB / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.3554, allocations: 0.7634 MB / 1.063 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.3554, allocations: 0 / 1.063 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3554, allocations: 0 / 1.063 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.789e-05/0.3555, allocations: 0 / 1.063 GB, free: 13.93 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.001264/0.3567, allocations: 0.7909 MB / 1.064 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.3568, allocations: 8.031 kB / 1.064 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/0.3581, allocations: 180.1 kB / 1.064 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005378/0.3587, allocations: 408.5 kB / 1.064 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.3587, allocations: 25.36 kB / 1.064 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.799e-05/0.3588, allocations: 36.36 kB / 1.064 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008394/0.3596, allocations: 0.651 MB / 1.065 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.3597, allocations: 7.938 kB / 1.065 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.476e-05/0.3597, allocations: 19.98 kB / 1.065 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.29e-05/0.3598, allocations: 47.97 kB / 1.065 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007011/0.3605, allocations: 0.4915 MB / 1.065 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00305/0.3635, allocations: 3.786 MB / 1.069 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.3652, allocations: 0.6321 MB / 1.07 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.3655, allocations: 186.4 kB / 1.07 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.3655, allocations: 0 / 1.07 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.3655, allocations: 42.56 kB / 1.07 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.483e-06/0.3656, allocations: 3.938 kB / 1.07 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.002231/0.3678, allocations: 1.277 MB / 1.071 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.3679, allocations: 106.8 kB / 1.071 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003919/0.3683, allocations: 389.8 kB / 1.072 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.3683, allocations: 33.7 kB / 1.072 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.3685, allocations: 283.4 kB / 1.072 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.683e-05/0.3686, allocations: 114.4 kB / 1.072 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.3687, allocations: 102 kB / 1.072 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.3688, allocations: 358.7 kB / 1.072 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/0.3691, allocations: 181 kB / 1.073 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003534/0.3695, allocations: 376 kB / 1.073 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006613/0.3701, allocations: 0.5874 MB / 1.074 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.3701, allocations: 7.938 kB / 1.074 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00106/0.3712, allocations: 0.6747 MB / 1.074 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.3712, allocations: 8 kB / 1.074 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.3713, allocations: 4 kB / 1.074 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003589/0.3716, allocations: 99.33 kB / 1.074 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00039/0.372, allocations: 115.8 kB / 1.074 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003088/0.3751, allocations: 4.348 MB / 1.079 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003508/0.3755, allocations: 28.12 kB / 1.079 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.3755, allocations: 28 kB / 1.079 GB, free: 12.32 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.0002257/0.3758, allocations: 205.5 kB / 1.079 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.3759, allocations: 39.53 kB / 1.079 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008853/0.3768, allocations: 0.5306 MB / 1.079 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.3768, allocations: 4 kB / 1.079 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3768, allocations: 4 kB / 1.08 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3768, allocations: 3.984 kB / 1.08 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/0.3786, allocations: 1.276 MB / 1.081 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.3786, allocations: 4 kB / 1.081 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002466/0.3789, allocations: 63.89 kB / 1.081 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002763/0.3792, allocations: 94.72 kB / 1.081 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/0.3792, allocations: 12 kB / 1.081 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002941/0.3821, allocations: 4.34 MB / 1.085 GB, free: 5.195 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3822, allocations: 3.938 kB / 1.085 GB, free: 5.191 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009114/0.3831, allocations: 0.7815 MB / 1.086 GB, free: 4.352 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/0.3833, allocations: 152.5 kB / 1.086 GB, free: 4.184 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/0.3834, allocations: 12.28 kB / 1.086 GB, free: 4.172 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003219/0.3837, allocations: 23.97 kB / 1.086 GB, free: 4.148 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.45e-05/0.3838, allocations: 31.91 kB / 1.086 GB, free: 4.117 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.3838, allocations: 15.94 kB / 1.086 GB, free: 4.102 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000271/0.3841, allocations: 287.1 kB / 1.086 GB, free: 3.828 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3841, allocations: 0 / 1.086 GB, free: 3.828 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006829/0.3848, allocations: 120 kB / 1.087 GB, free: 3.711 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.0001299/0.3849, allocations: 115.2 kB / 1.087 GB, free: 3.586 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001317/0.3862, allocations: 0.8172 MB / 1.087 GB, free: 2.73 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.3862, allocations: 0 / 1.087 GB, free: 2.73 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007485/0.387, allocations: 0.5474 MB / 1.088 GB, free: 2.145 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009733/0.388, allocations: 138.8 kB / 1.088 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.3897, allocations: 1.081 MB / 1.089 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.3901, allocations: 0.8625 MB / 1.09 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003098/0.3904, allocations: 100.5 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.051e-05/0.3905, allocations: 35.44 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of SimCode: time 6.01e-07/0.3905, allocations: 0 / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of Templates: time 0.01097/0.4015, allocations: 5.789 MB / 1.096 GB, free: 10.11 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