Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01054/0.01054, allocations: 99.91 kB / 15.73 MB, free: 6.492 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.00245/0.002451, allocations: 203.9 kB / 16.68 MB, free: 6.375 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.823/2.823, allocations: 437 MB / 0.7105 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 59.91 kB / 1.019 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3233, allocations: 151.6 MB / 1.167 GB, free: 6.84 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.004309/0.3277, allocations: 2.624 MB / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002508/0.3302, allocations: 1.578 MB / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.499e-05/0.3303, allocations: 4 kB / 1.171 GB, free: 2.602 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007085/0.331, allocations: 171.3 kB / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003673/0.3314, allocations: 155.3 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004553/0.3319, allocations: 191.5 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002902/0.3322, allocations: 211.4 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002825/0.3325, allocations: 125 kB / 1.172 GB, free: 1.762 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.3326, allocations: 91.62 kB / 1.172 GB, free: 1.672 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002456/0.3329, allocations: 99.64 kB / 1.172 GB, free: 1.574 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.3329, allocations: 12 kB / 1.172 GB, free: 1.562 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003545/0.3333, allocations: 211.6 kB / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.371e-05/0.3334, allocations: 63.88 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.3335, allocations: 83.59 kB / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004185/0.3339, allocations: 310.8 kB / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3339, allocations: 0 / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3339, allocations: 0 / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.3339, allocations: 0 / 1.172 GB, free: 0.9062 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007196/0.3347, allocations: 486.6 kB / 1.173 GB, free: 392 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.3347, allocations: 12.03 kB / 1.173 GB, free: 380 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007711/0.3355, allocations: 88.73 kB / 1.173 GB, free: 292 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.3358, allocations: 237.9 kB / 1.173 GB, free: 16 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.3358, allocations: 8.656 kB / 1.173 GB, free: 8 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.732e-05/0.3359, allocations: 12.42 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004993/0.3364, allocations: 295.5 kB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.3364, allocations: 4 kB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.3364, allocations: 4 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-05/0.3365, allocations: 20.16 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004287/0.3369, allocations: 228.4 kB / 1.174 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.3387, allocations: 1.595 MB / 1.175 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003849/0.3391, allocations: 319.3 kB / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.3392, allocations: 65.69 kB / 1.176 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.3393, allocations: 3.984 kB / 1.176 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.3393, allocations: 34.5 kB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.3393, allocations: 0 / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0005671/0.3399, allocations: 245.5 kB / 1.176 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.3399, allocations: 89.28 kB / 1.176 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/0.3402, allocations: 215.3 kB / 1.176 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.3403, allocations: 29.7 kB / 1.176 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.3404, allocations: 152 kB / 1.176 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.3404, allocations: 39.69 kB / 1.176 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.647e-05/0.3405, allocations: 49.66 kB / 1.176 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.3406, allocations: 322.8 kB / 1.177 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.3408, allocations: 88.8 kB / 1.177 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.341, allocations: 168.6 kB / 1.177 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/0.3414, allocations: 230.9 kB / 1.177 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3414, allocations: 3.938 kB / 1.177 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000493/0.3419, allocations: 277.2 kB / 1.177 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3419, allocations: 8 kB / 1.177 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3419, allocations: 0 / 1.177 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.437e-05/0.342, allocations: 8.312 kB / 1.177 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/0.3422, allocations: 59.89 kB / 1.178 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.3423, allocations: 4 kB / 1.178 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.3425, allocations: 19.98 kB / 1.178 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.3425, allocations: 12.06 kB / 1.178 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002154/0.3427, allocations: 172.1 kB / 1.178 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002011/0.3429, allocations: 155.9 kB / 1.178 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002987/0.3433, allocations: 219.8 kB / 1.178 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.412e-06/0.3433, allocations: 0 / 1.178 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004872/0.3438, allocations: 253.2 kB / 1.178 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.3438, allocations: 8 kB / 1.178 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3438, allocations: 7.938 kB / 1.178 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.832e-06/0.3438, allocations: 4 kB / 1.178 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.344, allocations: 47.97 kB / 1.178 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.344, allocations: 11.88 kB / 1.178 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.3443, allocations: 28.28 kB / 1.178 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.3443, allocations: 8.125 kB / 1.178 GB, free: 10.09 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * 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.0001226/0.3444, allocations: 192.1 kB / 1.179 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.258e-05/0.3445, allocations: 23.91 kB / 1.179 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002687/0.3447, allocations: 147 kB / 1.179 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.3448, allocations: 3.938 kB / 1.179 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.3448, allocations: 4 kB / 1.179 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3448, allocations: 0 / 1.179 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009241/0.3457, allocations: 0.7238 MB / 1.18 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.3457, allocations: 0 / 1.18 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.3458, allocations: 27.98 kB / 1.18 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.3459, allocations: 4 kB / 1.18 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.3459, allocations: 4 kB / 1.18 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.789e-05/0.3459, allocations: 7.938 kB / 1.18 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3459, allocations: 0 / 1.18 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.3463, allocations: 386.3 kB / 1.18 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.482e-05/0.3464, allocations: 112.9 kB / 1.18 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.3464, allocations: 4 kB / 1.18 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.3466, allocations: 11.98 kB / 1.18 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.3466, allocations: 15.92 kB / 1.18 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.3467, allocations: 7.938 kB / 1.18 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000185/0.3469, allocations: 160.8 kB / 1.18 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3469, allocations: 0 / 1.18 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004865/0.3473, allocations: 72 kB / 1.18 GB, free: 8.043 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * 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.0001596/0.3475, allocations: 107.2 kB / 1.18 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000549/0.3481, allocations: 288.6 kB / 1.181 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.3481, allocations: 4 kB / 1.181 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.314e-05/0.3482, allocations: 57.22 kB / 1.181 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004723/0.3487, allocations: 32.14 kB / 1.181 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007299/0.3494, allocations: 426.5 kB / 1.181 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/0.3499, allocations: 0.7402 MB / 1.182 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002251/0.3501, allocations: 77.5 kB / 1.182 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.592e-05/0.3501, allocations: 23.38 kB / 1.182 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.3502, allocations: 0 / 1.182 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of Templates: time 0.005393/0.3555, allocations: 1.917 MB / 1.184 GB, free: 4.32 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches