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.001885/0.001885, allocations: 99.64 kB / 18.95 MB, free: 2.836 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.002341/0.002341, allocations: 210.4 kB / 22.24 MB, free: 5.102 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.812 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.245/3.245, allocations: 0.4892 GB / 0.7943 GB, free: 35.52 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: "" <> 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.002229/0.002229, allocations: 66.42 kB / 1.153 GB, free: 25.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.333, allocations: 176.1 MB / 1.325 GB, free: 2.391 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.007789/0.3408, allocations: 4.277 MB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003872/0.3447, allocations: 1.831 MB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004201/0.3451, allocations: 15.94 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002036/0.3471, allocations: 0.5939 MB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0008715/0.348, allocations: 270.6 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008058/0.3488, allocations: 251.4 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009701/0.3498, allocations: 0.6073 MB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006995/0.3505, allocations: 351.2 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000434/0.3509, allocations: 259.1 kB / 1.333 GB, free: 9.93 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006149/0.3515, allocations: 266.9 kB / 1.334 GB, free: 9.668 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.409e-05/0.3516, allocations: 40 kB / 1.334 GB, free: 9.629 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005928/0.3522, allocations: 231.4 kB / 1.334 GB, free: 9.402 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002494/0.3525, allocations: 151.5 kB / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002786/0.3527, allocations: 179.2 kB / 1.334 GB, free: 9.078 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009596/0.3537, allocations: 0.6149 MB / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3537, allocations: 0 / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3537, allocations: 0 / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.865e-05/0.3537, allocations: 0 / 1.335 GB, free: 8.461 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.001469/0.3552, allocations: 0.6648 MB / 1.335 GB, free: 7.766 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.3552, allocations: 8.031 kB / 1.335 GB, free: 7.758 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001044/0.3553, allocations: 78.7 kB / 1.335 GB, free: 7.672 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.3564, allocations: 152.5 kB / 1.336 GB, free: 7.523 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005802/0.3569, allocations: 276.8 kB / 1.336 GB, free: 7.227 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.071e-05/0.357, allocations: 29.38 kB / 1.336 GB, free: 7.199 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.694e-05/0.3571, allocations: 32.36 kB / 1.336 GB, free: 7.168 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009733/0.358, allocations: 0.6861 MB / 1.337 GB, free: 6.406 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.3581, allocations: 3.938 kB / 1.337 GB, free: 6.402 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.635e-05/0.3581, allocations: 19.97 kB / 1.337 GB, free: 6.383 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.418e-05/0.3582, allocations: 32.64 kB / 1.337 GB, free: 6.352 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006634/0.3588, allocations: 386.3 kB / 1.337 GB, free: 5.977 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002672/0.3615, allocations: 1.734 MB / 1.339 GB, free: 4.16 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006248/0.3621, allocations: 234.5 kB / 1.339 GB, free: 3.922 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.3623, allocations: 96.81 kB / 1.339 GB, free: 3.824 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.3623, allocations: 0 / 1.339 GB, free: 3.824 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.36e-05/0.3624, allocations: 38.56 kB / 1.339 GB, free: 3.777 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.343e-06/0.3624, allocations: 4 kB / 1.339 GB, free: 3.773 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.002332/0.3647, allocations: 0.9059 MB / 1.34 GB, free: 2.828 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.3648, allocations: 55.41 kB / 1.34 GB, free: 2.762 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003894/0.3652, allocations: 308.3 kB / 1.34 GB, free: 2.449 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.3652, allocations: 33.7 kB / 1.34 GB, free: 2.41 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.3654, allocations: 236.1 kB / 1.341 GB, free: 2.172 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.122e-05/0.3655, allocations: 91.25 kB / 1.341 GB, free: 2.082 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.3656, allocations: 65.98 kB / 1.341 GB, free: 2.008 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002431/0.3658, allocations: 338.8 kB / 1.341 GB, free: 1.668 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.366, allocations: 104.6 kB / 1.341 GB, free: 1.566 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000248/0.3663, allocations: 183.8 kB / 1.341 GB, free: 1.348 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004516/0.3667, allocations: 324.4 kB / 1.342 GB, free: 0.9961 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3667, allocations: 0 / 1.342 GB, free: 0.9961 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009087/0.3676, allocations: 442 kB / 1.342 GB, free: 0.5508 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.3676, allocations: 8 kB / 1.342 GB, free: 0.543 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3677, allocations: 0 / 1.342 GB, free: 0.543 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003701/0.368, allocations: 98.48 kB / 1.342 GB, free: 448 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.3683, allocations: 68.09 kB / 1.342 GB, free: 380 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004098/0.3724, allocations: 4.066 MB / 1.346 GB, free: 11.95 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.3726, allocations: 8 kB / 1.346 GB, free: 11.95 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.3727, allocations: 16 kB / 1.346 GB, free: 11.93 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.0002619/0.3729, allocations: 174.9 kB / 1.346 GB, free: 11.75 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.058e-05/0.373, allocations: 39.73 kB / 1.346 GB, free: 11.71 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.931e-05/0.3731, allocations: 42.53 kB / 1.346 GB, free: 11.67 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3731, allocations: 0 / 1.346 GB, free: 11.67 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.3731, allocations: 7.938 kB / 1.346 GB, free: 11.66 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3731, allocations: 0 / 1.346 GB, free: 11.66 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004942/0.3736, allocations: 336.6 kB / 1.347 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.3736, allocations: 3.938 kB / 1.347 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.3738, allocations: 39.91 kB / 1.347 GB, free: 11.25 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003172/0.3741, allocations: 94.53 kB / 1.347 GB, free: 11.14 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.3741, allocations: 4 kB / 1.347 GB, free: 11.14 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003797/0.3779, allocations: 4.065 MB / 1.351 GB, free: 6.73 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.3779, allocations: 3.938 kB / 1.351 GB, free: 6.727 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008847/0.3788, allocations: 0.556 MB / 1.351 GB, free: 6.148 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/0.379, allocations: 48.11 kB / 1.351 GB, free: 6.102 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.493e-05/0.379, allocations: 11.98 kB / 1.351 GB, free: 6.09 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.3792, allocations: 12 kB / 1.351 GB, free: 6.078 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.885e-05/0.3793, allocations: 23.83 kB / 1.351 GB, free: 6.055 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.3793, allocations: 4 kB / 1.351 GB, free: 6.051 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002441/0.3796, allocations: 211 kB / 1.352 GB, free: 5.844 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3796, allocations: 4 kB / 1.352 GB, free: 5.84 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004854/0.38, allocations: 96 kB / 1.352 GB, free: 5.746 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.001388/0.3814, allocations: 1.105 MB / 1.353 GB, free: 4.605 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001011/0.3824, allocations: 0.5955 MB / 1.353 GB, free: 3.973 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3824, allocations: 0 / 1.353 GB, free: 3.973 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005683/0.383, allocations: 463.8 kB / 1.354 GB, free: 3.48 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000494/0.3835, allocations: 86.75 kB / 1.354 GB, free: 3.402 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005063/0.3886, allocations: 3.374 MB / 1.357 GB, free: 15.86 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.3888, allocations: 224.7 kB / 1.357 GB, free: 15.62 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002184/0.3891, allocations: 62.92 kB / 1.358 GB, free: 15.56 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.3892, allocations: 107.4 kB / 1.358 GB, free: 15.45 MB / 1.061 GB Notification: Performance of SimCode: time 1.363e-06/0.3892, allocations: 0 / 1.358 GB, free: 15.45 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04975/0.439, allocations: 8.768 MB / 1.366 GB, free: 6.91 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.17, allocations: 3.156 kB / 1.366 GB, free: 6.91 MB / 1.061 GB " [Timeout remaining time 288] (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: 19.14168999902904]