Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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.001828/0.001828, allocations: 103.4 kB / 18.19 MB, free: 4.117 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.00207/0.00207, allocations: 189.9 kB / 21.34 MB, free: 0.9766 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.476/1.476, allocations: 225.6 MB / 249.9 MB, free: 13.62 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.235/3.235, allocations: 489.7 MB / 0.7761 GB, free: 33.57 MB / 0.6231 GB [Timeout remaining time 86] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=505,variableFilter="time|grid.P.real|grid.P.apparent",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=505,variableFilter="time|grid.P.real|grid.P.apparent",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 76.52 kB / 1.127 GB, free: 37.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4216/0.4235, allocations: 172.1 MB / 1.295 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.005046/0.4286, allocations: 2.923 MB / 1.298 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003224/0.4318, allocations: 1.839 MB / 1.299 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.432, allocations: 7.938 kB / 1.299 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008618/0.4328, allocations: 227.1 kB / 1.3 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005367/0.4334, allocations: 207 kB / 1.3 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005824/0.4339, allocations: 227.4 kB / 1.3 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000414/0.4344, allocations: 307 kB / 1.3 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000358/0.4347, allocations: 146.4 kB / 1.301 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002103/0.4349, allocations: 127.5 kB / 1.301 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003261/0.4353, allocations: 159.4 kB / 1.301 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.17e-05/0.4353, allocations: 20 kB / 1.301 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005139/0.4358, allocations: 287.4 kB / 1.301 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.4359, allocations: 99.64 kB / 1.301 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.4361, allocations: 115.4 kB / 1.301 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006093/0.4367, allocations: 430.5 kB / 1.302 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.4367, allocations: 0 / 1.302 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.482e-06/0.4367, allocations: 4 kB / 1.302 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.4367, allocations: 0 / 1.302 GB, free: 4.762 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.00104/0.4378, allocations: 0.553 MB / 1.302 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.4378, allocations: 8.031 kB / 1.302 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009643/0.4388, allocations: 116.7 kB / 1.302 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003938/0.4391, allocations: 271.2 kB / 1.303 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.4392, allocations: 20.62 kB / 1.303 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.592e-05/0.4392, allocations: 20.38 kB / 1.303 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007202/0.4399, allocations: 386.5 kB / 1.303 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.44, allocations: 3.938 kB / 1.303 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.704e-05/0.44, allocations: 11.98 kB / 1.303 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.975e-05/0.4401, allocations: 28.31 kB / 1.303 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007195/0.4408, allocations: 340.6 kB / 1.303 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002222/0.443, allocations: 1.732 MB / 1.305 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007262/0.4437, allocations: 321 kB / 1.305 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002695/0.444, allocations: 141.6 kB / 1.306 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001579/0.4442, allocations: 89.09 kB / 1.306 GB, free: 468 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.4442, allocations: 34.56 kB / 1.306 GB, free: 424 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/0.4442, allocations: 0 / 1.306 GB, free: 424 kB / 0.9981 GB Notification: Performance of matching and sorting (n=21): time 0.0015/0.4457, allocations: 0.6019 MB / 1.306 GB, free: 15.79 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.4457, allocations: 77.11 kB / 1.306 GB, free: 15.69 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/0.446, allocations: 211.7 kB / 1.307 GB, free: 15.48 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.4461, allocations: 37.69 kB / 1.307 GB, free: 15.43 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.4462, allocations: 156.3 kB / 1.307 GB, free: 15.28 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.918e-05/0.4462, allocations: 79.31 kB / 1.307 GB, free: 15.2 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.4464, allocations: 65.92 kB / 1.307 GB, free: 15.13 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.4465, allocations: 334.8 kB / 1.307 GB, free: 14.79 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003148/0.4468, allocations: 141.9 kB / 1.307 GB, free: 14.65 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003824/0.4472, allocations: 223.8 kB / 1.308 GB, free: 14.4 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006573/0.4479, allocations: 372 kB / 1.308 GB, free: 14 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4479, allocations: 0 / 1.308 GB, free: 14 MB / 1.014 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009556/0.4488, allocations: 440.2 kB / 1.308 GB, free: 13.56 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.4489, allocations: 4 kB / 1.308 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.4489, allocations: 4 kB / 1.308 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002559/0.4491, allocations: 44.81 kB / 1.308 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000356/0.4495, allocations: 71.88 kB / 1.308 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001717/0.4512, allocations: 1.607 MB / 1.31 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003187/0.4515, allocations: 35.86 kB / 1.31 GB, free: 11.65 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/0.4516, allocations: 19.98 kB / 1.31 GB, free: 11.63 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004021/0.452, allocations: 240.5 kB / 1.31 GB, free: 11.39 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003611/0.4523, allocations: 214.6 kB / 1.31 GB, free: 11.14 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006189/0.4529, allocations: 352.6 kB / 1.311 GB, free: 10.76 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.733e-06/0.4529, allocations: 0 / 1.311 GB, free: 10.76 MB / 1.014 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0008754/0.4538, allocations: 420.3 kB / 1.311 GB, free: 10.34 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.4538, allocations: 8 kB / 1.311 GB, free: 10.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4538, allocations: 4 kB / 1.311 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001495/0.454, allocations: 45.28 kB / 1.311 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003113/0.4543, allocations: 79.83 kB / 1.311 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001606/0.4559, allocations: 1.615 MB / 1.313 GB, free: 8.445 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000297/0.4562, allocations: 35.86 kB / 1.313 GB, free: 8.41 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.631e-05/0.4562, allocations: 15.98 kB / 1.313 GB, free: 8.395 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001945/0.4564, allocations: 192.2 kB / 1.313 GB, free: 8.199 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.947e-05/0.4565, allocations: 23.91 kB / 1.313 GB, free: 8.176 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007519/0.4573, allocations: 360 kB / 1.314 GB, free: 7.812 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.4573, allocations: 0 / 1.314 GB, free: 7.812 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.4573, allocations: 4 kB / 1.314 GB, free: 7.809 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4573, allocations: 0 / 1.314 GB, free: 7.809 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/0.4589, allocations: 0.9653 MB / 1.314 GB, free: 6.766 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.4589, allocations: 0 / 1.314 GB, free: 6.766 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002352/0.4591, allocations: 56.11 kB / 1.315 GB, free: 6.711 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001405/0.4592, allocations: 36.77 kB / 1.315 GB, free: 6.672 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.4593, allocations: 8 kB / 1.315 GB, free: 6.664 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001361/0.4606, allocations: 1.52 MB / 1.316 GB, free: 5.004 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4606, allocations: 4.031 kB / 1.316 GB, free: 5 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007622/0.4614, allocations: 0.5277 MB / 1.317 GB, free: 4.434 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.4615, allocations: 128.9 kB / 1.317 GB, free: 4.289 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/0.4616, allocations: 15.88 kB / 1.317 GB, free: 4.273 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.4618, allocations: 23.97 kB / 1.317 GB, free: 4.25 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.545e-05/0.4619, allocations: 19.97 kB / 1.317 GB, free: 4.23 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.4619, allocations: 8 kB / 1.317 GB, free: 4.223 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000212/0.4621, allocations: 163 kB / 1.317 GB, free: 4.062 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4621, allocations: 0 / 1.317 GB, free: 4.062 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006203/0.4628, allocations: 115.9 kB / 1.317 GB, free: 3.949 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001847/0.4629, allocations: 99.78 kB / 1.317 GB, free: 3.844 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001507/0.4645, allocations: 0.7315 MB / 1.318 GB, free: 3.086 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4645, allocations: 0 / 1.318 GB, free: 3.086 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004365/0.4649, allocations: 271.8 kB / 1.318 GB, free: 2.809 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000474/0.4654, allocations: 39.73 kB / 1.318 GB, free: 2.773 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.4665, allocations: 0.5889 MB / 1.319 GB, free: 2.133 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/0.4669, allocations: 0.7678 MB / 1.319 GB, free: 1.336 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.467, allocations: 31.42 kB / 1.32 GB, free: 1.305 MB / 1.014 GB Notification: Performance of SimCode: time 3.31e-07/0.467, allocations: 3.938 kB / 1.32 GB, free: 1.301 MB / 1.014 GB Notification: Performance of Templates: time 0.007375/0.4744, allocations: 4.339 MB / 1.324 GB, free: 12.96 MB / 1.029 GB [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches