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.001754/0.001754, allocations: 109.3 kB / 16.46 MB, free: 6.453 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.001992/0.001992, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.425/1.425, allocations: 230.6 MB / 252.8 MB, free: 8.945 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.158/3.158, allocations: 0.49 GB / 0.7916 GB, free: 33.23 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_12_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_12_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) [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.002944/0.002944, allocations: 67.59 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3381, allocations: 176.1 MB / 1.321 GB, free: 3.387 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.006749/0.3448, allocations: 4.437 MB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003435/0.3483, allocations: 1.928 MB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003124/0.3486, allocations: 15.94 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001753/0.3503, allocations: 0.5998 MB / 1.328 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007178/0.3511, allocations: 270.6 kB / 1.328 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007042/0.3518, allocations: 245 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008233/0.3526, allocations: 0.6189 MB / 1.329 GB, free: 11.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00067/0.3533, allocations: 363.2 kB / 1.329 GB, free: 10.9 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003917/0.3537, allocations: 255.1 kB / 1.329 GB, free: 10.65 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005502/0.3542, allocations: 282.9 kB / 1.33 GB, free: 10.37 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.596e-05/0.3543, allocations: 36 kB / 1.33 GB, free: 10.34 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004927/0.3548, allocations: 267.4 kB / 1.33 GB, free: 10.07 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.355, allocations: 147.5 kB / 1.33 GB, free: 9.93 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002688/0.3552, allocations: 222.9 kB / 1.33 GB, free: 9.711 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008607/0.3561, allocations: 0.611 MB / 1.331 GB, free: 9.098 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3561, allocations: 0 / 1.331 GB, free: 9.098 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3561, allocations: 0 / 1.331 GB, free: 9.098 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.746e-05/0.3561, allocations: 4 kB / 1.331 GB, free: 9.094 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.001407/0.3575, allocations: 0.7362 MB / 1.332 GB, free: 8.305 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.3576, allocations: 11.98 kB / 1.332 GB, free: 8.293 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001008/0.3577, allocations: 86.7 kB / 1.332 GB, free: 8.199 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.3587, allocations: 148.5 kB / 1.332 GB, free: 8.055 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005106/0.3592, allocations: 342.6 kB / 1.332 GB, free: 7.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.3592, allocations: 25.38 kB / 1.332 GB, free: 7.656 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.102e-05/0.3593, allocations: 36.36 kB / 1.332 GB, free: 7.621 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008477/0.3601, allocations: 0.5354 MB / 1.333 GB, free: 7.047 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.3601, allocations: 3.938 kB / 1.333 GB, free: 7.043 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.363e-05/0.3602, allocations: 16 kB / 1.333 GB, free: 7.027 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.504e-05/0.3602, allocations: 36.62 kB / 1.333 GB, free: 6.992 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006298/0.3609, allocations: 386.3 kB / 1.333 GB, free: 6.617 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002789/0.3636, allocations: 2.4 MB / 1.335 GB, free: 3.992 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005406/0.3642, allocations: 240.4 kB / 1.336 GB, free: 3.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.3644, allocations: 96.8 kB / 1.336 GB, free: 3.652 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.3644, allocations: 4 kB / 1.336 GB, free: 3.648 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.3644, allocations: 38.56 kB / 1.336 GB, free: 3.602 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.943e-06/0.3644, allocations: 3.938 kB / 1.336 GB, free: 3.598 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.00238/0.3668, allocations: 1.13 MB / 1.337 GB, free: 2.371 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.3668, allocations: 55.41 kB / 1.337 GB, free: 2.305 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003614/0.3672, allocations: 300.5 kB / 1.337 GB, free: 2.004 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.3672, allocations: 33.69 kB / 1.337 GB, free: 1.965 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.3674, allocations: 236.1 kB / 1.337 GB, free: 1.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.839e-05/0.3675, allocations: 87.25 kB / 1.338 GB, free: 1.645 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.3676, allocations: 65.98 kB / 1.338 GB, free: 1.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3677, allocations: 338.8 kB / 1.338 GB, free: 1.23 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.3679, allocations: 104.6 kB / 1.338 GB, free: 1.129 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.3682, allocations: 191.7 kB / 1.338 GB, free: 0.9023 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004442/0.3686, allocations: 320.1 kB / 1.339 GB, free: 0.5547 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3686, allocations: 0 / 1.339 GB, free: 0.5547 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008256/0.3694, allocations: 438 kB / 1.339 GB, free: 116 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.3695, allocations: 8 kB / 1.339 GB, free: 108 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.3695, allocations: 0 / 1.339 GB, free: 108 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004076/0.3699, allocations: 106.8 kB / 1.339 GB, free: 15.99 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000298/0.3702, allocations: 63.86 kB / 1.339 GB, free: 15.93 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003696/0.3739, allocations: 4.387 MB / 1.343 GB, free: 11.12 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002652/0.3741, allocations: 8.031 kB / 1.343 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.3742, allocations: 16 kB / 1.343 GB, free: 11.09 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.0002395/0.3744, allocations: 188 kB / 1.344 GB, free: 10.9 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.771e-05/0.3745, allocations: 35.75 kB / 1.344 GB, free: 10.87 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.038e-05/0.3746, allocations: 38.31 kB / 1.344 GB, free: 10.83 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3746, allocations: 4 kB / 1.344 GB, free: 10.83 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.3746, allocations: 0 / 1.344 GB, free: 10.83 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3746, allocations: 96 / 1.344 GB, free: 10.83 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005078/0.3751, allocations: 401.4 kB / 1.344 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.3751, allocations: 3.938 kB / 1.344 GB, free: 10.38 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/0.3753, allocations: 43.91 kB / 1.344 GB, free: 10.34 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003304/0.3756, allocations: 94.44 kB / 1.344 GB, free: 10.24 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.3756, allocations: 4 kB / 1.344 GB, free: 10.23 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003485/0.3791, allocations: 4.387 MB / 1.348 GB, free: 5.426 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3791, allocations: 3.938 kB / 1.349 GB, free: 5.422 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008738/0.38, allocations: 0.5536 MB / 1.349 GB, free: 4.844 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.3802, allocations: 124.9 kB / 1.349 GB, free: 4.703 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.141e-05/0.3802, allocations: 8.125 kB / 1.349 GB, free: 4.695 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.3804, allocations: 8 kB / 1.349 GB, free: 4.688 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.881e-05/0.3805, allocations: 27.77 kB / 1.349 GB, free: 4.66 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.3805, allocations: 8 kB / 1.349 GB, free: 4.652 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002433/0.3808, allocations: 215 kB / 1.349 GB, free: 4.441 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3808, allocations: 0 / 1.349 GB, free: 4.441 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004864/0.3812, allocations: 96 kB / 1.35 GB, free: 4.348 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.001176/0.3824, allocations: 1.099 MB / 1.351 GB, free: 3.215 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009394/0.3834, allocations: 0.5905 MB / 1.351 GB, free: 2.586 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3834, allocations: 0.6875 kB / 1.351 GB, free: 2.586 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005521/0.3839, allocations: 479.7 kB / 1.352 GB, free: 2.078 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000501/0.3844, allocations: 67.11 kB / 1.352 GB, free: 2.016 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004669/0.3891, allocations: 3.368 MB / 1.355 GB, free: 14.48 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005228/0.3896, allocations: 0.8311 MB / 1.356 GB, free: 13.62 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002289/0.3898, allocations: 66.91 kB / 1.356 GB, free: 13.55 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.39, allocations: 107.4 kB / 1.356 GB, free: 13.45 MB / 1.061 GB Notification: Performance of SimCode: time 8.21e-07/0.39, allocations: 0 / 1.356 GB, free: 13.45 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04324/0.4333, allocations: 7.845 MB / 1.364 GB, free: 5.754 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.04/10.47, allocations: 6.25 kB / 1.364 GB, free: 5.75 MB / 1.061 GB " [Timeout remaining time 289] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv --start-time 0 --stop-time 15 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 Buildings_12_Buildings_Electrical_DC_Lines_Examples_RCModel.fmu > Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv","/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] "Error: Could not read variable sen_ss.I in file Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv. Warning: Get data of variable sen_ss.I from file Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv failed! Error: Could not read variable sen_dyn.I in file Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv. Warning: Get data of variable sen_dyn.I from file Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv failed! Error: Could not read variable RC_ss.Vc in file Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv. Warning: Get data of variable RC_ss.Vc from file Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.14565141615458]