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.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.002044/0.002044, allocations: 104.6 kB / 18.84 MB, free: 3.023 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.002624/0.002624, allocations: 189.8 kB / 22.1 MB, free: 4.223 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.598/1.598, allocations: 225.6 MB / 250.8 MB, free: 2.91 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.103/3.103, allocations: 495.8 MB / 0.7831 GB, free: 12.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.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: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 63.89 kB / 1.137 GB, free: 12.27 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.352/1.354, allocations: 173.6 MB / 1.307 GB, free: 33.81 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005907/1.36, allocations: 4.501 MB / 1.311 GB, free: 30.81 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002951/1.363, allocations: 1.921 MB / 1.313 GB, free: 29.5 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002673/1.363, allocations: 13.66 kB / 1.313 GB, free: 29.49 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001659/1.365, allocations: 0.6205 MB / 1.314 GB, free: 29.13 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000667/1.365, allocations: 265.5 kB / 1.314 GB, free: 28.97 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006817/1.366, allocations: 260.7 kB / 1.314 GB, free: 28.84 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000587/1.367, allocations: 0.6031 MB / 1.315 GB, free: 28.57 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000548/1.367, allocations: 329 kB / 1.315 GB, free: 28.43 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002709/1.367, allocations: 258.7 kB / 1.315 GB, free: 28.31 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004541/1.368, allocations: 279.1 kB / 1.316 GB, free: 28.2 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.793e-05/1.368, allocations: 36.44 kB / 1.316 GB, free: 28.2 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004253/1.368, allocations: 238.9 kB / 1.316 GB, free: 28.12 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001407/1.368, allocations: 149.6 kB / 1.316 GB, free: 28.06 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002107/1.369, allocations: 222.9 kB / 1.316 GB, free: 27.93 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006642/1.369, allocations: 0.6019 MB / 1.317 GB, free: 27.72 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.369, allocations: 0 / 1.317 GB, free: 27.72 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.903e-06/1.369, allocations: 0 / 1.317 GB, free: 27.72 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.077e-06/1.369, allocations: 0 / 1.317 GB, free: 27.72 MB / 1.061 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.001223/1.371, allocations: 0.6676 MB / 1.317 GB, free: 27.24 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/1.371, allocations: 7.875 kB / 1.317 GB, free: 27.24 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009789/1.372, allocations: 146.5 kB / 1.318 GB, free: 27.21 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004441/1.372, allocations: 282.8 kB / 1.318 GB, free: 27 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/1.372, allocations: 26.48 kB / 1.318 GB, free: 26.99 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.255e-05/1.372, allocations: 29.5 kB / 1.318 GB, free: 26.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007074/1.373, allocations: 0.5343 MB / 1.318 GB, free: 26.7 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/1.373, allocations: 7.062 kB / 1.318 GB, free: 26.7 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.334e-05/1.373, allocations: 15.16 kB / 1.318 GB, free: 26.68 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.204e-05/1.373, allocations: 35.48 kB / 1.318 GB, free: 26.68 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005279/1.373, allocations: 381.4 kB / 1.319 GB, free: 26.55 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002167/1.376, allocations: 2.37 MB / 1.321 GB, free: 24.52 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005146/1.376, allocations: 252 kB / 1.321 GB, free: 24.41 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/1.376, allocations: 94.12 kB / 1.321 GB, free: 24.38 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/1.376, allocations: 3.938 kB / 1.321 GB, free: 24.37 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/1.376, allocations: 41.22 kB / 1.321 GB, free: 24.32 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 2.024e-06/1.376, allocations: 4 kB / 1.321 GB, free: 24.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.002042/1.378, allocations: 0.8941 MB / 1.322 GB, free: 23.86 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/1.378, allocations: 58.03 kB / 1.322 GB, free: 23.79 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/1.379, allocations: 305.9 kB / 1.323 GB, free: 23.62 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/1.379, allocations: 28.33 kB / 1.323 GB, free: 23.59 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/1.379, allocations: 239.1 kB / 1.323 GB, free: 23.38 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.242e-05/1.379, allocations: 84.36 kB / 1.323 GB, free: 23.32 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.538e-05/1.379, allocations: 68.22 kB / 1.323 GB, free: 23.27 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.387e-05/1.379, allocations: 337 kB / 1.323 GB, free: 22.95 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/1.379, allocations: 101.2 kB / 1.324 GB, free: 22.91 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/1.379, allocations: 198.3 kB / 1.324 GB, free: 22.76 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003654/1.38, allocations: 308.2 kB / 1.324 GB, free: 22.57 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/1.38, allocations: 4 kB / 1.324 GB, free: 22.56 MB / 1.061 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006737/1.38, allocations: 438.4 kB / 1.324 GB, free: 22.36 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/1.38, allocations: 11.56 kB / 1.324 GB, free: 22.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/1.38, allocations: 3.438 kB / 1.324 GB, free: 22.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003707/1.381, allocations: 97.7 kB / 1.325 GB, free: 22.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/1.381, allocations: 65.73 kB / 1.325 GB, free: 22.31 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002405/1.383, allocations: 4.09 MB / 1.329 GB, free: 18.36 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002677/1.384, allocations: 12.73 kB / 1.329 GB, free: 18.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/1.384, allocations: 15.09 kB / 1.329 GB, free: 18.35 MB / 1.061 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.0002132/1.384, allocations: 172.8 kB / 1.329 GB, free: 18.21 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.261e-05/1.384, allocations: 36.47 kB / 1.329 GB, free: 18.19 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.012e-05/1.384, allocations: 38.02 kB / 1.329 GB, free: 18.16 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/1.384, allocations: 10.06 kB / 1.329 GB, free: 18.16 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/1.384, allocations: 0 / 1.329 GB, free: 18.16 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/1.384, allocations: 3.938 kB / 1.329 GB, free: 18.15 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004136/1.384, allocations: 373.3 kB / 1.329 GB, free: 17.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/1.384, allocations: 0 / 1.329 GB, free: 17.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/1.385, allocations: 35.19 kB / 1.329 GB, free: 17.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003001/1.385, allocations: 102.7 kB / 1.329 GB, free: 17.86 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/1.385, allocations: 0 / 1.329 GB, free: 17.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002389/1.387, allocations: 4.087 MB / 1.333 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.387, allocations: 0.8438 kB / 1.333 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009686/1.388, allocations: 0.5576 MB / 1.334 GB, free: 13.6 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/1.388, allocations: 46.36 kB / 1.334 GB, free: 13.57 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/1.389, allocations: 5.875 kB / 1.334 GB, free: 13.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/1.389, allocations: 9.641 kB / 1.334 GB, free: 13.57 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.55e-05/1.389, allocations: 16.53 kB / 1.334 GB, free: 13.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/1.389, allocations: 12.88 kB / 1.334 GB, free: 13.56 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002623/1.389, allocations: 214.7 kB / 1.334 GB, free: 13.44 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/1.389, allocations: 0.6562 kB / 1.334 GB, free: 13.44 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006106/1.39, allocations: 102.8 kB / 1.334 GB, free: 13.42 MB / 1.061 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.0001389/1.39, allocations: 95.72 kB / 1.334 GB, free: 13.34 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009405/1.391, allocations: 0.5996 MB / 1.335 GB, free: 12.9 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/1.391, allocations: 3.938 kB / 1.335 GB, free: 12.9 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004627/1.391, allocations: 459.4 kB / 1.335 GB, free: 12.52 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005331/1.392, allocations: 76.72 kB / 1.335 GB, free: 12.49 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/1.393, allocations: 0.7238 MB / 1.336 GB, free: 12.06 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/1.393, allocations: 0.8306 MB / 1.337 GB, free: 11.35 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001948/1.394, allocations: 55.66 kB / 1.337 GB, free: 11.34 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.795e-05/1.394, allocations: 25.52 kB / 1.337 GB, free: 11.34 MB / 1.061 GB Notification: Performance of SimCode: time 7.81e-07/1.394, allocations: 4 kB / 1.337 GB, free: 11.34 MB / 1.061 GB Notification: Performance of Templates: time 0.01251/1.406, allocations: 4.704 MB / 1.342 GB, free: 10.98 MB / 1.061 GB " [Timeout remaining time 299] 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 -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/jenkins/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: 10.767920610494912]