Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 100.8 kB / 19.74 MB, free: 2.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002038/0.002038, allocations: 213 kB / 23.04 MB, free: 4.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.198/3.198, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 65.8 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4371/0.4392, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.005505/0.4448, allocations: 2.432 MB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003224/0.448, allocations: 1.547 MB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.4481, allocations: 7.938 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008038/0.4489, allocations: 183.2 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004516/0.4494, allocations: 155.3 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005056/0.4499, allocations: 183.5 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003735/0.4502, allocations: 227.3 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003739/0.4506, allocations: 101 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002534/0.4509, allocations: 107.7 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002962/0.4512, allocations: 111.5 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.4512, allocations: 12 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003663/0.4516, allocations: 191.6 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.4517, allocations: 67.8 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.825e-05/0.4518, allocations: 71.72 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004999/0.4523, allocations: 310.9 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4523, allocations: 0 / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.724e-06/0.4523, allocations: 0 / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.4523, allocations: 0 / 1.333 GB, free: 11.29 MB / 1.029 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.4532, allocations: 417.5 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4532, allocations: 11.97 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007776/0.454, allocations: 80.73 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.4543, allocations: 182.2 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.4543, allocations: 8.656 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.605e-05/0.4544, allocations: 12.38 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005648/0.4549, allocations: 325.3 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.4549, allocations: 7.984 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/0.455, allocations: 8 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.9e-05/0.455, allocations: 16.23 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004617/0.4555, allocations: 229.1 kB / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.4573, allocations: 1.295 MB / 1.335 GB, free: 8.559 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000353/0.4577, allocations: 157.1 kB / 1.335 GB, free: 8.387 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.4578, allocations: 65.75 kB / 1.335 GB, free: 8.316 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.4578, allocations: 4 kB / 1.335 GB, free: 8.312 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.4579, allocations: 30.56 kB / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.4579, allocations: 0 / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0006273/0.4585, allocations: 248.9 kB / 1.336 GB, free: 8.023 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.373e-05/0.4586, allocations: 88.92 kB / 1.336 GB, free: 7.918 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002805/0.4588, allocations: 210.8 kB / 1.336 GB, free: 7.703 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.4589, allocations: 25.7 kB / 1.336 GB, free: 7.672 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.459, allocations: 160.3 kB / 1.336 GB, free: 7.512 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.459, allocations: 43.62 kB / 1.336 GB, free: 7.469 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-05/0.4591, allocations: 49.7 kB / 1.336 GB, free: 7.414 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.4593, allocations: 322.8 kB / 1.337 GB, free: 7.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.4595, allocations: 84.8 kB / 1.337 GB, free: 7.004 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/0.4598, allocations: 163.1 kB / 1.337 GB, free: 6.805 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004061/0.4602, allocations: 246.9 kB / 1.337 GB, free: 6.523 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4602, allocations: 0 / 1.337 GB, free: 6.523 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005377/0.4607, allocations: 285.2 kB / 1.337 GB, free: 6.238 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.4607, allocations: 8 kB / 1.337 GB, free: 6.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.4607, allocations: 0 / 1.337 GB, free: 6.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.4608, allocations: 7.984 kB / 1.337 GB, free: 6.223 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.461, allocations: 68.31 kB / 1.337 GB, free: 6.156 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/0.4611, allocations: 11.88 kB / 1.337 GB, free: 6.145 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.4613, allocations: 23.97 kB / 1.337 GB, free: 6.121 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.4613, allocations: 11.98 kB / 1.337 GB, free: 6.109 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002567/0.4616, allocations: 176.1 kB / 1.338 GB, free: 5.934 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002274/0.4618, allocations: 153.1 kB / 1.338 GB, free: 5.746 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000333/0.4622, allocations: 231 kB / 1.338 GB, free: 5.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.472e-06/0.4622, allocations: 4 kB / 1.338 GB, free: 5.477 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004797/0.4626, allocations: 265.1 kB / 1.338 GB, free: 5.211 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/0.4626, allocations: 4 kB / 1.338 GB, free: 5.207 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.4627, allocations: 8.312 kB / 1.338 GB, free: 5.199 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.051e-06/0.4627, allocations: 8 kB / 1.338 GB, free: 5.191 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/0.4629, allocations: 51.95 kB / 1.338 GB, free: 5.141 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.4629, allocations: 7.938 kB / 1.338 GB, free: 5.133 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.4631, allocations: 27.91 kB / 1.338 GB, free: 5.105 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.4632, allocations: 8 kB / 1.338 GB, free: 5.098 MB / 1.029 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.0001525/0.4633, allocations: 196.1 kB / 1.338 GB, free: 4.898 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.076e-05/0.4634, allocations: 15.91 kB / 1.339 GB, free: 4.883 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002877/0.4637, allocations: 147 kB / 1.339 GB, free: 4.727 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.4637, allocations: 0 / 1.339 GB, free: 4.727 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.846e-05/0.4637, allocations: 3.938 kB / 1.339 GB, free: 4.723 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.4637, allocations: 0 / 1.339 GB, free: 4.723 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.4647, allocations: 0.6491 MB / 1.339 GB, free: 4.008 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4647, allocations: 4 kB / 1.339 GB, free: 4.004 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.4648, allocations: 28.33 kB / 1.339 GB, free: 3.977 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.4648, allocations: 4 kB / 1.339 GB, free: 3.973 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.4648, allocations: 4 kB / 1.339 GB, free: 3.969 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.4648, allocations: 11.88 kB / 1.339 GB, free: 3.957 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.4648, allocations: 3.938 kB / 1.339 GB, free: 3.953 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003918/0.4652, allocations: 382.3 kB / 1.34 GB, free: 3.535 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.771e-05/0.4653, allocations: 27.89 kB / 1.34 GB, free: 3.508 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.4653, allocations: 4 kB / 1.34 GB, free: 3.504 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.4655, allocations: 15.98 kB / 1.34 GB, free: 3.488 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.4655, allocations: 15.92 kB / 1.34 GB, free: 3.473 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.4656, allocations: 8 kB / 1.34 GB, free: 3.465 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001972/0.4658, allocations: 156.2 kB / 1.34 GB, free: 3.312 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4658, allocations: 0 / 1.34 GB, free: 3.312 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005133/0.4663, allocations: 75.94 kB / 1.34 GB, free: 3.238 MB / 1.029 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.000183/0.4665, allocations: 103.2 kB / 1.34 GB, free: 3.129 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005793/0.467, allocations: 283.4 kB / 1.34 GB, free: 2.852 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.467, allocations: 1.5 kB / 1.34 GB, free: 2.852 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.701e-05/0.4671, allocations: 56.41 kB / 1.34 GB, free: 2.797 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004811/0.4676, allocations: 38.94 kB / 1.34 GB, free: 2.762 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000796/0.4684, allocations: 456.4 kB / 1.341 GB, free: 2.254 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000157/0.4686, allocations: 123.8 kB / 1.341 GB, free: 2.113 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.575e-05/0.4686, allocations: 23.44 kB / 1.341 GB, free: 2.094 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.4686, allocations: 0 / 1.341 GB, free: 2.094 MB / 1.029 GB Notification: Performance of Templates: time 0.004931/0.4736, allocations: 2.428 MB / 1.343 GB, free: 15.67 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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 [Calling sys.exit(0), Time elapsed: 12.04907045303844]