Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001673/0.001673, allocations: 113 kB / 18.94 MB, free: 2.934 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.001583/0.001583, allocations: 210.8 kB / 22.25 MB, free: 5.086 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.773/2.773, allocations: 476.7 MB / 0.7707 GB, free: 4.301 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_11_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.002062/0.002062, allocations: 64.28 kB / 1.117 GB, free: 40.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3509, allocations: 170 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.006907/0.3578, allocations: 4.54 MB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003517/0.3613, allocations: 1.952 MB / 1.29 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002277/0.3616, allocations: 15.88 kB / 1.29 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001775/0.3634, allocations: 0.6291 MB / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006516/0.364, allocations: 258.6 kB / 1.291 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006856/0.3647, allocations: 259.4 kB / 1.291 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007245/0.3654, allocations: 0.6151 MB / 1.291 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005832/0.366, allocations: 346.7 kB / 1.292 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003028/0.3663, allocations: 251.2 kB / 1.292 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005189/0.3668, allocations: 290.9 kB / 1.292 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.971e-05/0.3669, allocations: 36 kB / 1.292 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004584/0.3673, allocations: 255.5 kB / 1.293 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.3675, allocations: 163.5 kB / 1.293 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002305/0.3677, allocations: 215 kB / 1.293 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007842/0.3685, allocations: 0.611 MB / 1.294 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3685, allocations: 0 / 1.294 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3685, allocations: 0 / 1.294 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.3685, allocations: 3.938 kB / 1.294 GB, free: 1.305 MB / 0.9825 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.001331/0.3699, allocations: 0.6649 MB / 1.294 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.3699, allocations: 8.031 kB / 1.294 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001078/0.37, allocations: 74.72 kB / 1.294 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009464/0.371, allocations: 152.5 kB / 1.294 GB, free: 376 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005194/0.3715, allocations: 280.8 kB / 1.295 GB, free: 68 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.3715, allocations: 25.38 kB / 1.295 GB, free: 44 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.713e-05/0.3716, allocations: 40.36 kB / 1.295 GB, free: 4 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008427/0.3724, allocations: 0.5355 MB / 1.295 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.3724, allocations: 0 / 1.295 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.884e-05/0.3725, allocations: 12 kB / 1.295 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.178e-05/0.3725, allocations: 32.64 kB / 1.295 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006201/0.3731, allocations: 390.2 kB / 1.296 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002817/0.376, allocations: 2.375 MB / 1.298 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005435/0.3765, allocations: 238.5 kB / 1.298 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.3767, allocations: 96.81 kB / 1.298 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.3767, allocations: 0 / 1.298 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.3767, allocations: 42.5 kB / 1.298 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 1.322e-06/0.3767, allocations: 4 kB / 1.298 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.002166/0.3789, allocations: 0.9058 MB / 1.299 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.3789, allocations: 55.41 kB / 1.299 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003538/0.3793, allocations: 308.4 kB / 1.3 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.3793, allocations: 33.64 kB / 1.3 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.3795, allocations: 232.1 kB / 1.3 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.472e-05/0.3796, allocations: 87.31 kB / 1.3 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.3797, allocations: 61.98 kB / 1.3 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3799, allocations: 338.8 kB / 1.3 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.38, allocations: 104.6 kB / 1.3 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.3803, allocations: 187.7 kB / 1.301 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004485/0.3807, allocations: 324.1 kB / 1.301 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3807, allocations: 4 kB / 1.301 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007795/0.3815, allocations: 434.2 kB / 1.301 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.3815, allocations: 14.56 kB / 1.301 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.3815, allocations: 0 / 1.301 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003606/0.3819, allocations: 94.48 kB / 1.301 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002894/0.3822, allocations: 67.91 kB / 1.301 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003678/0.3859, allocations: 4.089 MB / 1.305 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.3861, allocations: 8 kB / 1.305 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.3861, allocations: 12 kB / 1.305 GB, free: 4.191 MB / 0.9981 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.0002491/0.3864, allocations: 185.7 kB / 1.306 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-05/0.3865, allocations: 39.7 kB / 1.306 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.018e-05/0.3865, allocations: 46.34 kB / 1.306 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3865, allocations: 8.047 kB / 1.306 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.3866, allocations: 4 kB / 1.306 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3866, allocations: 0 / 1.306 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004955/0.3871, allocations: 364.5 kB / 1.306 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.3871, allocations: 3.938 kB / 1.306 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/0.3873, allocations: 39.92 kB / 1.306 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003143/0.3876, allocations: 90.5 kB / 1.306 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/0.3876, allocations: 4 kB / 1.306 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00369/0.3913, allocations: 4.081 MB / 1.31 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.3913, allocations: 3.938 kB / 1.31 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008939/0.3922, allocations: 0.5521 MB / 1.311 GB, free: 14.35 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.3923, allocations: 51.77 kB / 1.311 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.083e-05/0.3924, allocations: 8 kB / 1.311 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.3926, allocations: 11.98 kB / 1.311 GB, free: 14.28 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/0.3926, allocations: 19.97 kB / 1.311 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.3926, allocations: 4 kB / 1.311 GB, free: 14.25 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002546/0.3929, allocations: 223.1 kB / 1.311 GB, free: 14.04 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3929, allocations: 3.938 kB / 1.311 GB, free: 14.04 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005059/0.3934, allocations: 96 kB / 1.311 GB, free: 13.94 MB / 1.014 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.001221/0.3946, allocations: 1.095 MB / 1.312 GB, free: 12.82 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009671/0.3956, allocations: 0.5907 MB / 1.313 GB, free: 12.19 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3956, allocations: 0 / 1.313 GB, free: 12.19 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005737/0.3962, allocations: 462.3 kB / 1.313 GB, free: 11.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005058/0.3967, allocations: 80.48 kB / 1.313 GB, free: 11.62 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004864/0.4015, allocations: 3.389 MB / 1.317 GB, free: 8.066 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005876/0.4021, allocations: 0.835 MB / 1.317 GB, free: 7.207 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002072/0.4023, allocations: 58.92 kB / 1.317 GB, free: 7.152 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/0.4025, allocations: 111.4 kB / 1.318 GB, free: 7.043 MB / 1.014 GB Notification: Performance of SimCode: time 1.393e-06/0.4025, allocations: 0 / 1.318 GB, free: 7.043 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04724/0.4498, allocations: 8.103 MB / 1.326 GB, free: 15.12 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.15, allocations: 6.094 kB / 1.326 GB, free: 15.12 MB / 1.029 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Electrical_DC_Lines_Examples_RCModel.fmu > Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Lines_Examples_RCModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv. Warning: Get data of variable sen_ss.I from file Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv failed! Error: Could not read variable sen_dyn.I in file Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv. Warning: Get data of variable sen_dyn.I from file Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv failed! Error: Could not read variable RC_ss.Vc in file Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv. Warning: Get data of variable RC_ss.Vc from file Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.902752406998843]