Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001317/0.001317, allocations: 114.5 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.001604/0.001604, allocations: 217 kB / 22.25 MB, free: 5.082 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.63/1.63, allocations: 230.6 MB / 256 MB, free: 8.02 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.266/3.266, allocations: 0.49 GB / 0.7951 GB, free: 33.5 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.HeatTransfer.Examples.ConductorStepResponse,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorStepResponse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorStepResponse,fileNamePrefix="Buildings_12_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.00228/0.00228, allocations: 75.73 kB / 1.154 GB, free: 25.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.393, allocations: 176.1 MB / 1.326 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.00695/0.3999, allocations: 4.857 MB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006775/0.4067, allocations: 3.35 MB / 1.334 GB, free: 9.703 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.4078, allocations: 35.69 kB / 1.334 GB, free: 9.668 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002106/0.4099, allocations: 0.5439 MB / 1.334 GB, free: 9.121 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002052/0.412, allocations: 0.7661 MB / 1.335 GB, free: 8.352 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.4141, allocations: 0.6859 MB / 1.336 GB, free: 7.668 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.004245/0.4183, allocations: 2.638 MB / 1.338 GB, free: 5.023 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004249/0.4188, allocations: 162 kB / 1.339 GB, free: 4.848 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001721/0.4205, allocations: 0.8295 MB / 1.339 GB, free: 4.016 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001604/0.4221, allocations: 0.8248 MB / 1.34 GB, free: 3.188 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002386/0.4223, allocations: 88 kB / 1.34 GB, free: 3.102 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003742/0.4227, allocations: 96 kB / 1.34 GB, free: 3.008 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0006613/0.4234, allocations: 0.5413 MB / 1.341 GB, free: 2.465 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001009/0.4244, allocations: 0.7538 MB / 1.342 GB, free: 1.707 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002133/0.4265, allocations: 1.68 MB / 1.343 GB, free: 20 kB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4265, allocations: 0 / 1.343 GB, free: 20 kB / 1.029 GB Notification: Performance of FrontEnd: time 2.294e-06/0.4265, allocations: 0 / 1.343 GB, free: 20 kB / 1.029 GB Notification: Performance of Transformations before backend: time 3.477e-05/0.4266, allocations: 0 / 1.343 GB, free: 20 kB / 1.029 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.004276/0.4308, allocations: 1.934 MB / 1.345 GB, free: 14.05 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.4309, allocations: 12.03 kB / 1.345 GB, free: 14.04 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001236/0.431, allocations: 90.66 kB / 1.345 GB, free: 13.94 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004792/0.4315, allocations: 183.8 kB / 1.345 GB, free: 13.76 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00226/0.4337, allocations: 1.1 MB / 1.347 GB, free: 12.62 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.443e-05/0.4338, allocations: 61.38 kB / 1.347 GB, free: 12.57 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.4339, allocations: 84.31 kB / 1.347 GB, free: 12.48 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008928/0.4348, allocations: 0.5633 MB / 1.347 GB, free: 11.89 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.4348, allocations: 8 kB / 1.347 GB, free: 11.88 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.176e-05/0.4349, allocations: 16 kB / 1.347 GB, free: 11.86 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.4349, allocations: 12 kB / 1.347 GB, free: 11.85 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006017/0.4355, allocations: 355.6 kB / 1.348 GB, free: 11.5 MB / 1.045 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.005626/0.4411, allocations: 3.831 MB / 1.351 GB, free: 7.363 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.4423, allocations: 498.1 kB / 1.352 GB, free: 6.871 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003136/0.4426, allocations: 176.8 kB / 1.352 GB, free: 6.695 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.4426, allocations: 0 / 1.352 GB, free: 6.695 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.4427, allocations: 34.56 kB / 1.352 GB, free: 6.652 MB / 1.045 GB Notification: Performance of pre-optimization done (n=30): time 1.693e-06/0.4427, allocations: 4 kB / 1.352 GB, free: 6.648 MB / 1.045 GB Notification: Performance of matching and sorting (n=30): time 0.002267/0.4449, allocations: 0.8596 MB / 1.353 GB, free: 5.773 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.445, allocations: 55.41 kB / 1.353 GB, free: 5.707 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002757/0.4477, allocations: 1.789 MB / 1.355 GB, free: 3.91 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.642e-05/0.4478, allocations: 45.7 kB / 1.355 GB, free: 3.859 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006139/0.4484, allocations: 0.5886 MB / 1.355 GB, free: 3.266 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.4486, allocations: 119 kB / 1.355 GB, free: 3.148 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003043/0.4489, allocations: 246.8 kB / 1.356 GB, free: 2.902 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.4491, allocations: 345.9 kB / 1.356 GB, free: 2.559 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005526/0.4496, allocations: 330.4 kB / 1.356 GB, free: 2.234 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.4507, allocations: 0.9403 MB / 1.357 GB, free: 0.9883 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/0.4523, allocations: 1.271 MB / 1.358 GB, free: 15.41 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/0.4523, allocations: 7.938 kB / 1.358 GB, free: 15.4 MB / 1.061 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002598/0.4549, allocations: 1.45 MB / 1.36 GB, free: 13.93 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.509e-05/0.455, allocations: 19.98 kB / 1.36 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.929e-05/0.455, allocations: 20 kB / 1.36 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006742/0.4557, allocations: 198.7 kB / 1.36 GB, free: 13.69 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007624/0.4564, allocations: 235.6 kB / 1.36 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005297/0.4617, allocations: 4.762 MB / 1.365 GB, free: 8.355 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002078/0.4638, allocations: 194.8 kB / 1.365 GB, free: 8.164 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/0.4639, allocations: 60 kB / 1.365 GB, free: 8.105 MB / 1.061 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.0009604/0.4649, allocations: 481.6 kB / 1.366 GB, free: 7.625 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004036/0.4653, allocations: 143 kB / 1.366 GB, free: 7.484 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002606/0.4656, allocations: 130.3 kB / 1.366 GB, free: 7.348 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.4656, allocations: 12 kB / 1.366 GB, free: 7.336 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.881e-05/0.4656, allocations: 4 kB / 1.366 GB, free: 7.332 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.4656, allocations: 0 / 1.366 GB, free: 7.332 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.467, allocations: 0.9047 MB / 1.367 GB, free: 6.387 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.467, allocations: 0 / 1.367 GB, free: 6.387 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002593/0.4672, allocations: 43.91 kB / 1.367 GB, free: 6.344 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005127/0.4677, allocations: 170.4 kB / 1.367 GB, free: 6.168 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/0.4678, allocations: 15.92 kB / 1.367 GB, free: 6.152 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004704/0.4725, allocations: 4.721 MB / 1.372 GB, free: 1.086 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4725, allocations: 320 / 1.372 GB, free: 1.086 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.4741, allocations: 0.891 MB / 1.373 GB, free: 172 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007596/0.4749, allocations: 230.8 kB / 1.373 GB, free: 15.94 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/0.475, allocations: 16 kB / 1.373 GB, free: 15.93 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006096/0.4756, allocations: 47.94 kB / 1.373 GB, free: 15.88 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.4758, allocations: 31.94 kB / 1.373 GB, free: 15.85 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.4758, allocations: 4 kB / 1.373 GB, free: 15.84 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001951/0.4777, allocations: 1.212 MB / 1.374 GB, free: 14.64 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4777, allocations: 0 / 1.374 GB, free: 14.64 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001381/0.4791, allocations: 379.7 kB / 1.374 GB, free: 14.27 MB / 1.076 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.001874/0.481, allocations: 1.452 MB / 1.376 GB, free: 12.77 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001941/0.4829, allocations: 1.082 MB / 1.377 GB, free: 11.66 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.4829, allocations: 1.938 kB / 1.377 GB, free: 11.66 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000831/0.4838, allocations: 0.5623 MB / 1.377 GB, free: 11.05 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/0.4853, allocations: 338.5 kB / 1.378 GB, free: 10.72 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01919/0.5045, allocations: 12.09 MB / 1.39 GB, free: 13.86 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/0.5057, allocations: 1.312 MB / 1.391 GB, free: 12.52 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008416/0.5065, allocations: 244.8 kB / 1.391 GB, free: 12.28 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006996/0.5072, allocations: 491.3 kB / 1.392 GB, free: 11.8 MB / 1.092 GB Notification: Performance of SimCode: time 9.42e-07/0.5072, allocations: 0 / 1.392 GB, free: 11.8 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08545/0.5927, allocations: 28.58 MB / 1.419 GB, free: 15.64 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.28/14.88, allocations: 5.188 kB / 1.419 GB, free: 15.64 MB / 1.123 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorStepResponse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Examples_ConductorStepResponse_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Examples_ConductorStepResponse.fmu > Buildings_12_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorStepResponse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorStepResponse.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: 21.87175663607195]