Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.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.001706/0.001706, allocations: 111 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.001861/0.001861, allocations: 213.7 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.415/1.415, allocations: 230.6 MB / 252.8 MB, free: 8.941 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.073/3.073, allocations: 0.505 GB / 0.8066 GB, free: 23.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.HeatTransfer.Examples.ConductorStepResponse,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorStepResponse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorStepResponse,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorStepResponse",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.00206/0.00206, allocations: 67.78 kB / 1.172 GB, free: 17.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3201, allocations: 180.2 MB / 1.348 GB, free: 10.1 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.006364/0.3264, allocations: 4.827 MB / 1.352 GB, free: 5.242 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005684/0.3321, allocations: 3.344 MB / 1.356 GB, free: 1.891 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000589/0.3327, allocations: 35.69 kB / 1.356 GB, free: 1.855 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001526/0.3342, allocations: 0.536 MB / 1.356 GB, free: 1.316 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001588/0.3358, allocations: 0.7077 MB / 1.357 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.3375, allocations: 0.6498 MB / 1.358 GB, free: 15.96 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003259/0.3408, allocations: 2.591 MB / 1.36 GB, free: 13.36 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004096/0.3412, allocations: 193.5 kB / 1.36 GB, free: 13.15 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001473/0.3427, allocations: 0.8373 MB / 1.361 GB, free: 12.31 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001412/0.3441, allocations: 0.7937 MB / 1.362 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002799/0.3444, allocations: 88 kB / 1.362 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004141/0.3448, allocations: 96 kB / 1.362 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006746/0.3455, allocations: 0.5296 MB / 1.363 GB, free: 10.8 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001162/0.3466, allocations: 0.7499 MB / 1.363 GB, free: 10.05 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002135/0.3488, allocations: 1.688 MB / 1.365 GB, free: 8.355 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3488, allocations: 0 / 1.365 GB, free: 8.355 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3488, allocations: 0 / 1.365 GB, free: 8.355 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.41e-05/0.3488, allocations: 0 / 1.365 GB, free: 8.355 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.004188/0.353, allocations: 2.002 MB / 1.367 GB, free: 6.297 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.3531, allocations: 11.98 kB / 1.367 GB, free: 6.285 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001361/0.3532, allocations: 86.7 kB / 1.367 GB, free: 6.191 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004763/0.3537, allocations: 187.8 kB / 1.367 GB, free: 6.008 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002216/0.3559, allocations: 1.165 MB / 1.368 GB, free: 4.797 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.442e-05/0.3559, allocations: 65.31 kB / 1.368 GB, free: 4.734 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.3561, allocations: 80.38 kB / 1.368 GB, free: 4.656 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009423/0.357, allocations: 0.5672 MB / 1.369 GB, free: 4.055 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.357, allocations: 0 / 1.369 GB, free: 4.055 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.213e-05/0.3571, allocations: 20 kB / 1.369 GB, free: 4.035 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.3571, allocations: 15.98 kB / 1.369 GB, free: 4.02 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006653/0.3577, allocations: 351.7 kB / 1.369 GB, free: 3.676 MB / 1.061 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005699/0.3634, allocations: 3.874 MB / 1.373 GB, free: 15.49 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.3647, allocations: 486.8 kB / 1.374 GB, free: 15 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003241/0.365, allocations: 177.2 kB / 1.374 GB, free: 14.83 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.365, allocations: 8 kB / 1.374 GB, free: 14.82 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.365, allocations: 30.56 kB / 1.374 GB, free: 14.78 MB / 1.076 GB Notification: Performance of pre-optimization done (n=30): time 1.833e-06/0.365, allocations: 0 / 1.374 GB, free: 14.78 MB / 1.076 GB Notification: Performance of matching and sorting (n=30): time 0.002392/0.3674, allocations: 1.084 MB / 1.375 GB, free: 13.62 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.3675, allocations: 55.41 kB / 1.375 GB, free: 13.56 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003193/0.3707, allocations: 1.789 MB / 1.377 GB, free: 11.76 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.414e-05/0.3708, allocations: 49.69 kB / 1.377 GB, free: 11.71 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006599/0.3714, allocations: 0.5847 MB / 1.377 GB, free: 11.12 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001826/0.3716, allocations: 115 kB / 1.377 GB, free: 11 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000361/0.372, allocations: 250.8 kB / 1.378 GB, free: 10.75 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001866/0.3722, allocations: 349.9 kB / 1.378 GB, free: 10.41 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005795/0.3727, allocations: 326.3 kB / 1.378 GB, free: 10.09 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.3738, allocations: 0.9403 MB / 1.379 GB, free: 8.84 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/0.3755, allocations: 1.271 MB / 1.38 GB, free: 7.262 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.786e-05/0.3755, allocations: 7.938 kB / 1.38 GB, free: 7.254 MB / 1.076 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002679/0.3782, allocations: 1.45 MB / 1.382 GB, free: 5.789 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/0.3782, allocations: 16 kB / 1.382 GB, free: 5.773 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.171e-05/0.3782, allocations: 23.94 kB / 1.382 GB, free: 5.75 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006692/0.3789, allocations: 194.7 kB / 1.382 GB, free: 5.551 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007728/0.3797, allocations: 243.5 kB / 1.382 GB, free: 5.312 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005012/0.3847, allocations: 5.075 MB / 1.387 GB, free: 15.82 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.386, allocations: 183 kB / 1.387 GB, free: 15.64 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.3861, allocations: 60 kB / 1.388 GB, free: 15.58 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * 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 (122): * Single equations (assignments): 119 * 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,5,100.0%), (1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007158/0.3868, allocations: 485 kB / 1.388 GB, free: 15.09 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003545/0.3872, allocations: 147 kB / 1.388 GB, free: 14.95 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003009/0.3875, allocations: 130.3 kB / 1.388 GB, free: 14.81 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.3875, allocations: 7.938 kB / 1.388 GB, free: 14.8 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.3875, allocations: 4 kB / 1.388 GB, free: 14.8 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.3875, allocations: 7.922 kB / 1.388 GB, free: 14.79 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/0.389, allocations: 0.9408 MB / 1.389 GB, free: 13.8 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.389, allocations: 0 / 1.389 GB, free: 13.8 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/0.3892, allocations: 39.97 kB / 1.389 GB, free: 13.76 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005587/0.3898, allocations: 162.4 kB / 1.389 GB, free: 13.59 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.585e-05/0.3898, allocations: 11.94 kB / 1.389 GB, free: 13.58 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004925/0.3948, allocations: 5.025 MB / 1.394 GB, free: 8.141 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3948, allocations: 0 / 1.394 GB, free: 8.141 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.3964, allocations: 0.8957 MB / 1.395 GB, free: 7.219 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007714/0.3972, allocations: 312 kB / 1.396 GB, free: 6.895 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003217/0.3975, allocations: 11.98 kB / 1.396 GB, free: 6.883 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008091/0.3983, allocations: 43.94 kB / 1.396 GB, free: 6.84 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.3984, allocations: 27.95 kB / 1.396 GB, free: 6.812 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.3985, allocations: 4 kB / 1.396 GB, free: 6.809 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002378/0.4008, allocations: 1.212 MB / 1.397 GB, free: 5.602 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4008, allocations: 0 / 1.397 GB, free: 5.602 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001393/0.4022, allocations: 383.7 kB / 1.397 GB, free: 5.227 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (conMul.lay[2].T[1],conMul.lay[2].T[2],con2.T[1],con2.T[2]) * 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 (19): * Single equations (assignments): 16 * 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,5,100.0%), (1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001981/0.4042, allocations: 1.444 MB / 1.399 GB, free: 3.742 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002077/0.4063, allocations: 1.085 MB / 1.4 GB, free: 2.621 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4063, allocations: 0 / 1.4 GB, free: 2.621 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0008808/0.4072, allocations: 0.5558 MB / 1.4 GB, free: 2.027 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/0.4088, allocations: 340.4 kB / 1.4 GB, free: 1.695 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02018/0.429, allocations: 12.1 MB / 1.412 GB, free: 4.824 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/0.4302, allocations: 1.308 MB / 1.414 GB, free: 3.484 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0006996/0.4309, allocations: 240.8 kB / 1.414 GB, free: 3.246 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007014/0.4316, allocations: 483.3 kB / 1.414 GB, free: 2.773 MB / 1.107 GB Notification: Performance of SimCode: time 1.834e-06/0.4316, allocations: 0 / 1.414 GB, free: 2.773 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07983/0.5114, allocations: 28.28 MB / 1.442 GB, free: 6.887 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.49, allocations: 10.39 kB / 1.442 GB, free: 6.879 MB / 1.139 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.csv --start-time 0 --stop-time 86400 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorStepResponse.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorStepResponse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable con.port_a.Q_flow in file Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.csv. Warning: Get data of variable con.port_a.Q_flow from file Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.csv failed! Error: Could not read variable con1.port_a.Q_flow in file Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.csv. Warning: Get data of variable con1.port_a.Q_flow from file Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.csv failed! Error: Could not read variable con.T[1] in file Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.csv. Warning: Get data of variable con.T[1] from file Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.csv failed! Error: Could not read variable cheEqu.y in file Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.csv. Warning: Get data of variable cheEqu.y from file Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.87440816592425]