Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 109.7 kB / 17.08 MB, free: 5.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 191.7 kB / 20.03 MB, free: 2.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.168/3.168, allocations: 489.3 MB / 0.7687 GB, free: 3.762 MB / 0.6075 GB " [Timeout remaining time 176] 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.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|error|sen_nlin.I|sen_lin.I|sen_nlin.V|sen_lin.V|sen_nlin.P|sen_lin.P",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|error|sen_nlin.I|sen_lin.I|sen_nlin.V|sen_lin.V|sen_nlin.P|sen_lin.P",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002228/0.002228, allocations: 71.89 kB / 1.103 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.083/1.086, allocations: 163.8 MB / 1.263 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.007432/1.093, allocations: 4.116 MB / 1.267 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003246/1.096, allocations: 1.579 MB / 1.268 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003239/1.097, allocations: 8.219 kB / 1.268 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001742/1.099, allocations: 0.5836 MB / 1.269 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007521/1.099, allocations: 237.3 kB / 1.269 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007069/1.1, allocations: 211.2 kB / 1.269 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0008123/1.101, allocations: 0.5458 MB / 1.27 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008085/1.102, allocations: 481 kB / 1.27 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003731/1.102, allocations: 231.3 kB / 1.27 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000505/1.103, allocations: 251.8 kB / 1.271 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.172e-05/1.103, allocations: 35.22 kB / 1.271 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004076/1.103, allocations: 165.7 kB / 1.271 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001725/1.103, allocations: 158.4 kB / 1.271 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002182/1.104, allocations: 200.7 kB / 1.271 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007809/1.104, allocations: 0.5301 MB / 1.272 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/1.104, allocations: 0 / 1.272 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.222e-06/1.104, allocations: 0 / 1.272 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.415e-05/1.104, allocations: 0 / 1.272 GB, free: 2.48 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001318/1.106, allocations: 0.6923 MB / 1.272 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/1.106, allocations: 9.188 kB / 1.272 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007458/1.106, allocations: 108 kB / 1.272 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004162/1.107, allocations: 304.7 kB / 1.273 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-05/1.107, allocations: 62.53 kB / 1.273 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.291e-05/1.107, allocations: 32.23 kB / 1.273 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000911/1.108, allocations: 0.5094 MB / 1.273 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/1.108, allocations: 0.625 kB / 1.273 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.093e-05/1.108, allocations: 16.25 kB / 1.273 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.168e-05/1.108, allocations: 38.39 kB / 1.273 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000764/1.109, allocations: 372.1 kB / 1.274 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002492/1.111, allocations: 2.214 MB / 1.276 GB, free: 15.36 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009087/1.112, allocations: 276.8 kB / 1.276 GB, free: 15.26 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004027/1.113, allocations: 151.4 kB / 1.276 GB, free: 15.21 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/1.113, allocations: 2.844 kB / 1.276 GB, free: 15.21 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/1.113, allocations: 36.41 kB / 1.276 GB, free: 15.16 MB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 2.305e-06/1.113, allocations: 0.8438 kB / 1.276 GB, free: 15.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.001839/1.115, allocations: 0.5815 MB / 1.277 GB, free: 14.82 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/1.115, allocations: 52.91 kB / 1.277 GB, free: 14.76 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/1.115, allocations: 232.8 kB / 1.277 GB, free: 14.61 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/1.115, allocations: 29.7 kB / 1.277 GB, free: 14.57 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/1.115, allocations: 211.7 kB / 1.277 GB, free: 14.4 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.438e-05/1.115, allocations: 70.52 kB / 1.277 GB, free: 14.34 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/1.116, allocations: 50.92 kB / 1.277 GB, free: 14.31 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001652/1.116, allocations: 334 kB / 1.278 GB, free: 13.99 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002614/1.116, allocations: 101.2 kB / 1.278 GB, free: 13.95 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003312/1.116, allocations: 180.7 kB / 1.278 GB, free: 13.81 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005571/1.117, allocations: 278.7 kB / 1.278 GB, free: 13.64 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.117, allocations: 0.6562 kB / 1.278 GB, free: 13.64 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001068/1.118, allocations: 387.4 kB / 1.279 GB, free: 13.48 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/1.118, allocations: 6.953 kB / 1.279 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.118, allocations: 2.344 kB / 1.279 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006086/1.119, allocations: 116.8 kB / 1.279 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/1.119, allocations: 53.39 kB / 1.279 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003884/1.123, allocations: 3.078 MB / 1.282 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003298/1.123, allocations: 31.77 kB / 1.282 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/1.123, allocations: 9.297 kB / 1.282 GB, free: 10.5 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004289/1.124, allocations: 221.6 kB / 1.282 GB, free: 10.37 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002927/1.124, allocations: 192.6 kB / 1.282 GB, free: 10.22 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004958/1.124, allocations: 268.1 kB / 1.283 GB, free: 10.05 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.843e-06/1.124, allocations: 0 / 1.283 GB, free: 10.05 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0009498/1.125, allocations: 385.4 kB / 1.283 GB, free: 9.887 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/1.125, allocations: 10.38 kB / 1.283 GB, free: 9.883 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/1.125, allocations: 4.5 kB / 1.283 GB, free: 9.883 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004306/1.126, allocations: 104.2 kB / 1.283 GB, free: 9.848 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/1.126, allocations: 49.36 kB / 1.283 GB, free: 9.844 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003727/1.13, allocations: 3.034 MB / 1.286 GB, free: 6.941 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003544/1.13, allocations: 29 kB / 1.286 GB, free: 6.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/1.13, allocations: 12.41 kB / 1.286 GB, free: 6.926 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (27): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002305/1.13, allocations: 204.4 kB / 1.286 GB, free: 6.727 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.835e-05/1.13, allocations: 26.88 kB / 1.286 GB, free: 6.711 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.93e-05/1.131, allocations: 30.19 kB / 1.286 GB, free: 6.688 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/1.131, allocations: 2.219 kB / 1.286 GB, free: 6.688 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/1.131, allocations: 0.5625 kB / 1.286 GB, free: 6.688 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.131, allocations: 1.906 kB / 1.286 GB, free: 6.688 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/1.132, allocations: 0.8265 MB / 1.287 GB, free: 6.129 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/1.132, allocations: 0 / 1.287 GB, free: 6.129 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/1.133, allocations: 33.45 kB / 1.287 GB, free: 6.125 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004316/1.133, allocations: 106 kB / 1.287 GB, free: 6.09 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/1.133, allocations: 6.375 kB / 1.287 GB, free: 6.086 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003654/1.137, allocations: 3.012 MB / 1.29 GB, free: 3.207 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/1.137, allocations: 1.344 kB / 1.29 GB, free: 3.207 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009235/1.138, allocations: 420.4 kB / 1.291 GB, free: 2.949 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/1.138, allocations: 116.4 kB / 1.291 GB, free: 2.836 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.894e-05/1.138, allocations: 6.75 kB / 1.291 GB, free: 2.832 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/1.138, allocations: 16.73 kB / 1.291 GB, free: 2.824 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/1.138, allocations: 23.69 kB / 1.291 GB, free: 2.816 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/1.138, allocations: 8.031 kB / 1.291 GB, free: 2.812 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002327/1.138, allocations: 162.4 kB / 1.291 GB, free: 2.711 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.91e-07/1.138, allocations: 1.062 kB / 1.291 GB, free: 2.711 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009392/1.139, allocations: 175.8 kB / 1.291 GB, free: 2.664 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001727/1.14, allocations: 105 kB / 1.291 GB, free: 2.57 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002559/1.142, allocations: 0.8756 MB / 1.292 GB, free: 2.004 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/1.142, allocations: 0 / 1.292 GB, free: 2.004 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008934/1.143, allocations: 380.1 kB / 1.292 GB, free: 1.734 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000511/1.144, allocations: 62.11 kB / 1.293 GB, free: 1.707 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/1.145, allocations: 0.6266 MB / 1.293 GB, free: 1.32 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006547/1.146, allocations: 0.8117 MB / 1.294 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.372e-05/1.146, allocations: 20.75 kB / 1.294 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/1.146, allocations: 1.062 kB / 1.294 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of Templates: time 0.01314/1.159, allocations: 6.231 MB / 1.3 GB, free: 124 kB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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: 13.186260606860742]