Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 103.7 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 225.6 MB / 249.9 MB, free: 13.44 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.583/2.583, allocations: 443.5 MB / 0.731 GB, free: 12.72 MB / 0.5919 GB [Timeout remaining time 87] 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.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 67.89 kB / 1.06 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8303/0.8323, allocations: 160.7 MB / 1.217 GB, free: 3.949 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004698/0.837, allocations: 2.455 MB / 1.219 GB, free: 2.051 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003015/0.84, allocations: 1.604 MB / 1.22 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.8402, allocations: 2.188 kB / 1.22 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007471/0.8409, allocations: 177.4 kB / 1.221 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004948/0.8414, allocations: 154 kB / 1.221 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005487/0.842, allocations: 176.9 kB / 1.221 GB, free: 440 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003516/0.8423, allocations: 224 kB / 1.221 GB, free: 312 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002855/0.8426, allocations: 104.2 kB / 1.221 GB, free: 248 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.8428, allocations: 86.86 kB / 1.221 GB, free: 200 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002652/0.843, allocations: 105.5 kB / 1.221 GB, free: 136 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.8431, allocations: 12.69 kB / 1.221 GB, free: 136 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004467/0.8435, allocations: 221.6 kB / 1.222 GB, free: 20 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.8437, allocations: 67.36 kB / 1.222 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.8438, allocations: 81.09 kB / 1.222 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005096/0.8443, allocations: 298.7 kB / 1.222 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.8443, allocations: 0 / 1.222 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8443, allocations: 0 / 1.222 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.8443, allocations: 1.219 kB / 1.222 GB, free: 15.74 MB / 0.9356 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.0009005/0.8452, allocations: 488.6 kB / 1.223 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.8452, allocations: 17.42 kB / 1.223 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008016/0.8461, allocations: 92.53 kB / 1.223 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.8464, allocations: 233.2 kB / 1.223 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.8464, allocations: 10.16 kB / 1.223 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.199e-05/0.8465, allocations: 13 kB / 1.223 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005809/0.8471, allocations: 298.7 kB / 1.223 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.8471, allocations: 0.9688 kB / 1.223 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/0.8471, allocations: 10.12 kB / 1.223 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.145e-05/0.8472, allocations: 16.91 kB / 1.223 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005001/0.8477, allocations: 230.5 kB / 1.223 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002243/0.8499, allocations: 1.591 MB / 1.225 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004934/0.8504, allocations: 322.8 kB / 1.225 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.8505, allocations: 56.16 kB / 1.225 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.8505, allocations: 0 / 1.225 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.8506, allocations: 41.58 kB / 1.225 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 9.61e-07/0.8506, allocations: 0 / 1.225 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0008011/0.8514, allocations: 242.5 kB / 1.226 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.865e-05/0.8515, allocations: 86.25 kB / 1.226 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003473/0.8518, allocations: 210.1 kB / 1.226 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.8519, allocations: 25.7 kB / 1.226 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.852, allocations: 159.1 kB / 1.226 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.257e-05/0.8521, allocations: 39.94 kB / 1.226 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.8523, allocations: 52.62 kB / 1.226 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002159/0.8525, allocations: 327.3 kB / 1.227 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.8527, allocations: 83.27 kB / 1.227 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003148/0.853, allocations: 162.6 kB / 1.227 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004992/0.8535, allocations: 228.9 kB / 1.227 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.8535, allocations: 5.406 kB / 1.227 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006863/0.8542, allocations: 267.8 kB / 1.227 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.8542, allocations: 8.75 kB / 1.227 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.8542, allocations: 7.812 kB / 1.227 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.92e-05/0.8543, allocations: 12.09 kB / 1.227 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.8545, allocations: 54.92 kB / 1.227 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.8546, allocations: 8.312 kB / 1.227 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/0.8548, allocations: 24.08 kB / 1.227 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-05/0.8549, allocations: 16.8 kB / 1.227 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002421/0.8551, allocations: 165.3 kB / 1.228 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000245/0.8553, allocations: 158.1 kB / 1.228 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003558/0.8557, allocations: 219.2 kB / 1.228 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.477e-06/0.8557, allocations: 1.281 kB / 1.228 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.000515/0.8562, allocations: 257.2 kB / 1.228 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.8562, allocations: 6.625 kB / 1.228 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.8562, allocations: 4.156 kB / 1.228 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/0.8562, allocations: 8 kB / 1.228 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.8564, allocations: 49.69 kB / 1.228 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.8565, allocations: 12.48 kB / 1.228 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.8567, allocations: 22.77 kB / 1.228 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.8567, allocations: 8.562 kB / 1.228 GB, free: 10.5 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.0001455/0.8569, allocations: 193.7 kB / 1.228 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.019e-05/0.8569, allocations: 18.5 kB / 1.228 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000292/0.8572, allocations: 150.4 kB / 1.229 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.8572, allocations: 5.25 kB / 1.229 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.8572, allocations: 5.312 kB / 1.229 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.8572, allocations: 1.312 kB / 1.229 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.8583, allocations: 0.7264 MB / 1.229 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.8584, allocations: 6.469 kB / 1.229 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.8585, allocations: 26.55 kB / 1.229 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.8585, allocations: 2.75 kB / 1.229 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.8585, allocations: 3.906 kB / 1.229 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/0.8585, allocations: 4.25 kB / 1.229 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.719e-06/0.8585, allocations: 6.094 kB / 1.229 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004097/0.8589, allocations: 386.6 kB / 1.23 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.859, allocations: 103.7 kB / 1.23 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.8591, allocations: 8.062 kB / 1.23 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.8593, allocations: 14.64 kB / 1.23 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/0.8593, allocations: 13.52 kB / 1.23 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.8593, allocations: 5.688 kB / 1.23 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002081/0.8596, allocations: 163.7 kB / 1.23 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.8596, allocations: 1.281 kB / 1.23 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005638/0.8601, allocations: 69.12 kB / 1.23 GB, free: 8.906 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.0001864/0.8603, allocations: 108.2 kB / 1.23 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005987/0.8609, allocations: 262.6 kB / 1.23 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.8609, allocations: 1.906 kB / 1.23 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.861, allocations: 61.22 kB / 1.23 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005091/0.8615, allocations: 30.98 kB / 1.231 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009232/0.8624, allocations: 462.7 kB / 1.231 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004704/0.8629, allocations: 0.7323 MB / 1.232 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.682e-05/0.863, allocations: 23.42 kB / 1.232 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.863, allocations: 0 / 1.232 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of Templates: time 0.005799/0.8688, allocations: 2.359 MB / 1.234 GB, free: 5.039 MB / 0.9356 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches