Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.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.002063/0.002063, allocations: 108.3 kB / 19.7 MB, free: 2.16 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.001877/0.001877, allocations: 213.6 kB / 22.99 MB, free: 4.988 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.255/3.255, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_ss.I|sen_dyn.I|RC_ss.Vc|RC_dyn.Vc",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_ss.I|sen_dyn.I|RC_ss.Vc|RC_dyn.Vc",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel") [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.00204/0.00204, allocations: 66.72 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.4097, allocations: 176.1 MB / 1.327 GB, free: 1.16 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.006961/0.4166, allocations: 4.284 MB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00344/0.4201, allocations: 1.823 MB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002038/0.4203, allocations: 19.88 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.4221, allocations: 0.5915 MB / 1.334 GB, free: 10.42 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006308/0.4227, allocations: 262.6 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006608/0.4234, allocations: 251.4 kB / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007191/0.4241, allocations: 0.6189 MB / 1.335 GB, free: 9.293 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006301/0.4248, allocations: 355.2 kB / 1.335 GB, free: 8.941 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003151/0.4251, allocations: 259.1 kB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004998/0.4256, allocations: 275 kB / 1.336 GB, free: 8.418 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.89e-05/0.4256, allocations: 36 kB / 1.336 GB, free: 8.383 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004116/0.426, allocations: 227.5 kB / 1.336 GB, free: 8.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000182/0.4262, allocations: 159.5 kB / 1.336 GB, free: 8.004 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002378/0.4265, allocations: 183.2 kB / 1.336 GB, free: 7.824 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008185/0.4273, allocations: 0.6149 MB / 1.337 GB, free: 7.207 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4273, allocations: 0 / 1.337 GB, free: 7.207 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4273, allocations: 4 kB / 1.337 GB, free: 7.203 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.4273, allocations: 0 / 1.337 GB, free: 7.203 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001402/0.4287, allocations: 0.6609 MB / 1.337 GB, free: 6.512 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.4287, allocations: 8.031 kB / 1.337 GB, free: 6.504 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.4298, allocations: 164.5 kB / 1.338 GB, free: 6.344 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005467/0.4303, allocations: 272.8 kB / 1.338 GB, free: 6.051 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.4304, allocations: 29.38 kB / 1.338 GB, free: 6.023 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.963e-05/0.4304, allocations: 32.38 kB / 1.338 GB, free: 5.992 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000983/0.4314, allocations: 0.6862 MB / 1.339 GB, free: 5.23 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.4314, allocations: 0 / 1.339 GB, free: 5.23 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.04e-05/0.4315, allocations: 19.98 kB / 1.339 GB, free: 5.211 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.004e-05/0.4315, allocations: 28.64 kB / 1.339 GB, free: 5.184 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006484/0.4322, allocations: 386.3 kB / 1.339 GB, free: 4.809 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002571/0.4348, allocations: 1.664 MB / 1.341 GB, free: 3.074 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005868/0.4353, allocations: 242.5 kB / 1.341 GB, free: 2.828 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.4355, allocations: 102.5 kB / 1.341 GB, free: 2.727 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.4355, allocations: 3.984 kB / 1.341 GB, free: 2.723 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.4356, allocations: 42.52 kB / 1.341 GB, free: 2.672 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.623e-06/0.4356, allocations: 0 / 1.341 GB, free: 2.672 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.00233/0.4379, allocations: 0.8969 MB / 1.342 GB, free: 1.734 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.438, allocations: 55.41 kB / 1.342 GB, free: 1.668 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/0.4383, allocations: 273.8 kB / 1.342 GB, free: 1.391 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.4383, allocations: 33.64 kB / 1.342 GB, free: 1.352 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.4385, allocations: 236.1 kB / 1.342 GB, free: 1.113 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.473e-05/0.4386, allocations: 87.25 kB / 1.342 GB, free: 1.027 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.4387, allocations: 65.98 kB / 1.343 GB, free: 0.9531 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.4389, allocations: 342.7 kB / 1.343 GB, free: 0.6094 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.4391, allocations: 104.6 kB / 1.343 GB, free: 0.5078 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/0.4393, allocations: 187.8 kB / 1.343 GB, free: 292 kB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004705/0.4398, allocations: 320.8 kB / 1.343 GB, free: 15.94 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4398, allocations: 0 / 1.343 GB, free: 15.94 MB / 1.045 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008344/0.4406, allocations: 434.1 kB / 1.344 GB, free: 15.5 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.4406, allocations: 11.98 kB / 1.344 GB, free: 15.49 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.4406, allocations: 0 / 1.344 GB, free: 15.49 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004097/0.4411, allocations: 98.69 kB / 1.344 GB, free: 15.38 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/0.4414, allocations: 67.91 kB / 1.344 GB, free: 15.32 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003749/0.4451, allocations: 4.005 MB / 1.348 GB, free: 11 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.4453, allocations: 15.94 kB / 1.348 GB, free: 10.98 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.4453, allocations: 8 kB / 1.348 GB, free: 10.98 MB / 1.045 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002262/0.4456, allocations: 182.3 kB / 1.348 GB, free: 10.79 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.64e-05/0.4456, allocations: 27.97 kB / 1.348 GB, free: 10.76 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.462e-05/0.4457, allocations: 46.41 kB / 1.348 GB, free: 10.71 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.4457, allocations: 7.984 kB / 1.348 GB, free: 10.71 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.4457, allocations: 3.938 kB / 1.348 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.4457, allocations: 3.984 kB / 1.348 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004289/0.4462, allocations: 285.2 kB / 1.349 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4462, allocations: 0 / 1.349 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.4464, allocations: 27.98 kB / 1.349 GB, free: 10.36 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003336/0.4467, allocations: 102.4 kB / 1.349 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.4467, allocations: 4 kB / 1.349 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003638/0.4504, allocations: 3.997 MB / 1.353 GB, free: 5.949 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4504, allocations: 0 / 1.353 GB, free: 5.949 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009094/0.4513, allocations: 0.5548 MB / 1.353 GB, free: 5.371 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.4514, allocations: 55.88 kB / 1.353 GB, free: 5.316 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/0.4514, allocations: 4 kB / 1.353 GB, free: 5.312 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.4517, allocations: 15.94 kB / 1.353 GB, free: 5.297 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.4517, allocations: 27.75 kB / 1.353 GB, free: 5.27 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.4517, allocations: 4 kB / 1.353 GB, free: 5.266 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000206/0.4519, allocations: 193.2 kB / 1.353 GB, free: 5.078 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4519, allocations: 0 / 1.353 GB, free: 5.078 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004784/0.4524, allocations: 96 kB / 1.353 GB, free: 4.984 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (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.0001615/0.4526, allocations: 111.2 kB / 1.354 GB, free: 4.863 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009503/0.4535, allocations: 0.5824 MB / 1.354 GB, free: 4.242 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4535, allocations: 128 / 1.354 GB, free: 4.242 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005639/0.4541, allocations: 464.9 kB / 1.355 GB, free: 3.75 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004944/0.4546, allocations: 72.3 kB / 1.355 GB, free: 3.684 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.4559, allocations: 0.7323 MB / 1.355 GB, free: 2.926 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.4562, allocations: 228 kB / 1.356 GB, free: 2.68 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001903/0.4564, allocations: 58.92 kB / 1.356 GB, free: 2.617 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.001e-05/0.4565, allocations: 23.44 kB / 1.356 GB, free: 2.598 MB / 1.045 GB Notification: Performance of SimCode: time 6.81e-07/0.4565, allocations: 0 / 1.356 GB, free: 2.598 MB / 1.045 GB Notification: Performance of Templates: time 0.01038/0.4668, allocations: 4.874 MB / 1.36 GB, free: 13.81 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Lines_Examples_RCModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.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: 9.355116826001904]