Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001444/0.001444, allocations: 103.2 kB / 16.4 MB, free: 6.449 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.001357/0.001357, allocations: 194.8 kB / 19.36 MB, free: 3.73 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.518/1.518, allocations: 222.9 MB / 245 MB, free: 15 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.626/2.626, allocations: 437 MB / 0.717 GB, free: 4.129 MB / 0.5762 GB [Timeout remaining time 86] 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.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=505,variableFilter="time|grid.P.real|grid.P.apparent",fileNamePrefix="Buildings_10_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_10_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 67.89 kB / 1.027 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153/1.155, allocations: 151.6 MB / 1.175 GB, free: 17.94 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.005023/1.16, allocations: 2.881 MB / 1.178 GB, free: 15.99 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003257/1.164, allocations: 1.807 MB / 1.18 GB, free: 14.76 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001909/1.164, allocations: 3.688 kB / 1.18 GB, free: 14.76 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008705/1.165, allocations: 231.5 kB / 1.18 GB, free: 14.62 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0005835/1.165, allocations: 204 kB / 1.18 GB, free: 14.51 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006559/1.166, allocations: 227.7 kB / 1.18 GB, free: 14.4 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004168/1.166, allocations: 309.8 kB / 1.181 GB, free: 14.27 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003729/1.167, allocations: 179.3 kB / 1.181 GB, free: 14.19 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002224/1.167, allocations: 130.1 kB / 1.181 GB, free: 14.13 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002981/1.167, allocations: 151.2 kB / 1.181 GB, free: 14.06 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.896e-05/1.167, allocations: 20.38 kB / 1.181 GB, free: 14.06 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00058/1.168, allocations: 283 kB / 1.181 GB, free: 13.97 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001112/1.168, allocations: 84.06 kB / 1.181 GB, free: 13.93 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001362/1.168, allocations: 119.8 kB / 1.182 GB, free: 13.86 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006719/1.169, allocations: 441.8 kB / 1.182 GB, free: 13.71 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/1.169, allocations: 1.281 kB / 1.182 GB, free: 13.71 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.234e-06/1.169, allocations: 0 / 1.182 GB, free: 13.71 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.143e-06/1.169, allocations: 0 / 1.182 GB, free: 13.71 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009731/1.17, allocations: 0.5602 MB / 1.183 GB, free: 13.22 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/1.17, allocations: 10.31 kB / 1.183 GB, free: 13.22 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/1.171, allocations: 113.3 kB / 1.183 GB, free: 13.2 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003676/1.171, allocations: 260.3 kB / 1.183 GB, free: 12.96 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/1.171, allocations: 16.69 kB / 1.183 GB, free: 12.95 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.336e-05/1.171, allocations: 24.25 kB / 1.183 GB, free: 12.94 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008355/1.172, allocations: 387.7 kB / 1.183 GB, free: 12.74 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/1.172, allocations: 5.156 kB / 1.183 GB, free: 12.73 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.513e-05/1.172, allocations: 6.25 kB / 1.183 GB, free: 12.73 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.905e-05/1.172, allocations: 25.89 kB / 1.183 GB, free: 12.72 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007577/1.173, allocations: 340.2 kB / 1.184 GB, free: 12.62 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001903/1.175, allocations: 1.738 MB / 1.185 GB, free: 11.16 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007691/1.176, allocations: 331.3 kB / 1.186 GB, free: 11.02 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/1.176, allocations: 150.8 kB / 1.186 GB, free: 10.96 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/1.176, allocations: 90.45 kB / 1.186 GB, free: 10.86 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/1.176, allocations: 40.16 kB / 1.186 GB, free: 10.82 MB / 0.92 GB Notification: Performance of pre-optimization done (n=20): time 2.375e-06/1.176, allocations: 0 / 1.186 GB, free: 10.82 MB / 0.92 GB Notification: Performance of matching and sorting (n=21): time 0.001479/1.178, allocations: 0.6018 MB / 1.187 GB, free: 10.5 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/1.178, allocations: 80.03 kB / 1.187 GB, free: 10.41 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/1.178, allocations: 210.7 kB / 1.187 GB, free: 10.28 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/1.178, allocations: 33.89 kB / 1.187 GB, free: 10.24 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.496e-05/1.178, allocations: 165.3 kB / 1.187 GB, free: 10.09 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.233e-05/1.178, allocations: 79.03 kB / 1.187 GB, free: 10.03 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/1.179, allocations: 56.8 kB / 1.187 GB, free: 10 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.4e-05/1.179, allocations: 330 kB / 1.187 GB, free: 9.68 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003134/1.179, allocations: 146.2 kB / 1.188 GB, free: 9.625 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003523/1.179, allocations: 214.7 kB / 1.188 GB, free: 9.484 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006278/1.18, allocations: 386.2 kB / 1.188 GB, free: 9.254 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/1.18, allocations: 1.406 kB / 1.188 GB, free: 9.254 MB / 0.92 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009156/1.181, allocations: 440.2 kB / 1.189 GB, free: 9.074 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/1.181, allocations: 6.812 kB / 1.189 GB, free: 9.074 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.181, allocations: 2.312 kB / 1.189 GB, free: 9.074 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002667/1.181, allocations: 45.52 kB / 1.189 GB, free: 9.059 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/1.182, allocations: 71.44 kB / 1.189 GB, free: 9.055 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/1.183, allocations: 1.623 MB / 1.19 GB, free: 7.523 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003273/1.183, allocations: 38.08 kB / 1.19 GB, free: 7.512 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.502e-05/1.183, allocations: 15.81 kB / 1.19 GB, free: 7.508 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003998/1.184, allocations: 239.7 kB / 1.191 GB, free: 7.371 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003265/1.184, allocations: 216 kB / 1.191 GB, free: 7.219 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005789/1.184, allocations: 355.6 kB / 1.191 GB, free: 7.004 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.693e-06/1.184, allocations: 0 / 1.191 GB, free: 7.004 MB / 0.92 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0009234/1.185, allocations: 428.5 kB / 1.192 GB, free: 6.824 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/1.185, allocations: 6.969 kB / 1.192 GB, free: 6.824 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.185, allocations: 3.609 kB / 1.192 GB, free: 6.824 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001543/1.186, allocations: 44.84 kB / 1.192 GB, free: 6.809 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003079/1.186, allocations: 71.23 kB / 1.192 GB, free: 6.801 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001226/1.187, allocations: 1.609 MB / 1.193 GB, free: 5.281 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003225/1.187, allocations: 31.7 kB / 1.193 GB, free: 5.273 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/1.188, allocations: 10.58 kB / 1.193 GB, free: 5.273 MB / 0.92 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.0001396/1.188, allocations: 201.6 kB / 1.193 GB, free: 5.074 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.356e-05/1.188, allocations: 27.09 kB / 1.193 GB, free: 5.059 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000792/1.189, allocations: 353.8 kB / 1.194 GB, free: 4.91 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/1.189, allocations: 6.141 kB / 1.194 GB, free: 4.906 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/1.189, allocations: 5.188 kB / 1.194 GB, free: 4.902 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/1.189, allocations: 2.547 kB / 1.194 GB, free: 4.902 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/1.19, allocations: 0.967 MB / 1.195 GB, free: 4.27 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/1.19, allocations: 2.625 kB / 1.195 GB, free: 4.27 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/1.19, allocations: 59.2 kB / 1.195 GB, free: 4.246 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001224/1.19, allocations: 34.36 kB / 1.195 GB, free: 4.227 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/1.191, allocations: 8 kB / 1.195 GB, free: 4.223 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009401/1.191, allocations: 1.505 MB / 1.196 GB, free: 2.711 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.191, allocations: 2.188 kB / 1.196 GB, free: 2.711 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006531/1.192, allocations: 0.5386 MB / 1.197 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/1.192, allocations: 128.9 kB / 1.197 GB, free: 2.16 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.693e-05/1.192, allocations: 11.97 kB / 1.197 GB, free: 2.152 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/1.193, allocations: 20.19 kB / 1.197 GB, free: 2.145 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.669e-05/1.193, allocations: 25.06 kB / 1.197 GB, free: 2.129 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/1.193, allocations: 10.53 kB / 1.197 GB, free: 2.125 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001846/1.193, allocations: 170.2 kB / 1.197 GB, free: 2 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/1.193, allocations: 0 / 1.197 GB, free: 2 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007265/1.194, allocations: 108.2 kB / 1.197 GB, free: 1.988 MB / 0.92 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.000179/1.194, allocations: 115.8 kB / 1.197 GB, free: 1.887 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001516/1.195, allocations: 0.7605 MB / 1.198 GB, free: 1.398 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.195, allocations: 4.25 kB / 1.198 GB, free: 1.395 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000405/1.196, allocations: 265 kB / 1.198 GB, free: 1.211 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005084/1.196, allocations: 47.23 kB / 1.198 GB, free: 1.18 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00097/1.197, allocations: 0.5482 MB / 1.199 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/1.197, allocations: 0.7693 MB / 1.2 GB, free: 40 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002616/1.198, allocations: 91.86 kB / 1.2 GB, free: 0 / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/1.198, allocations: 21.12 kB / 1.2 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of SimCode: time 6.81e-07/1.198, allocations: 0 / 1.2 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of Templates: time 0.009149/1.207, allocations: 3.468 MB / 1.203 GB, free: 14.29 MB / 0.9356 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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