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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 192.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.671/2.671, allocations: 469.4 MB / 0.742 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 68.14 kB / 0.9082 GB, free: 34.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2445, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.005556/0.2501, allocations: 4.798 MB / 1.068 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004481/0.2546, allocations: 3.266 MB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000317/0.255, allocations: 23.88 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.2562, allocations: 0.5321 MB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0011/0.2574, allocations: 0.7077 MB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.2586, allocations: 0.6333 MB / 1.073 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002255/0.2608, allocations: 2.575 MB / 1.076 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000385/0.2612, allocations: 289.4 kB / 1.076 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008459/0.2621, allocations: 0.8022 MB / 1.077 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008725/0.263, allocations: 0.782 MB / 1.078 GB, free: 12 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001633/0.2631, allocations: 92.05 kB / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002264/0.2634, allocations: 92 kB / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0004532/0.2638, allocations: 0.5062 MB / 1.078 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0006625/0.2645, allocations: 0.7421 MB / 1.079 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.2658, allocations: 1.654 MB / 1.081 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.2658, allocations: 0 / 1.081 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2658, allocations: 0 / 1.081 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.412e-05/0.2658, allocations: 0 / 1.081 GB, free: 12.92 MB / 0.8419 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.002984/0.2688, allocations: 1.936 MB / 1.083 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.2689, allocations: 12.03 kB / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.691e-05/0.269, allocations: 86.7 kB / 1.083 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002063/0.2692, allocations: 170.9 kB / 1.083 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001568/0.2707, allocations: 1.124 MB / 1.084 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.72e-05/0.2708, allocations: 57.38 kB / 1.084 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.852e-05/0.2709, allocations: 80.38 kB / 1.084 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00079/0.2717, allocations: 0.5633 MB / 1.085 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.2717, allocations: 0 / 1.085 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.633e-05/0.2718, allocations: 20 kB / 1.085 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.2718, allocations: 15.94 kB / 1.085 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005874/0.2724, allocations: 355.6 kB / 1.085 GB, free: 8.363 MB / 0.8419 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.004507/0.2769, allocations: 3.882 MB / 1.089 GB, free: 4.172 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.278, allocations: 0.5032 MB / 1.089 GB, free: 3.66 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002805/0.2783, allocations: 196.7 kB / 1.09 GB, free: 3.465 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.2784, allocations: 0 / 1.09 GB, free: 3.465 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.2784, allocations: 38.56 kB / 1.09 GB, free: 3.418 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=30): time 1.373e-06/0.2784, allocations: 0 / 1.09 GB, free: 3.418 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30): time 0.002027/0.2804, allocations: 1.093 MB / 1.091 GB, free: 2.254 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.2805, allocations: 59.34 kB / 1.091 GB, free: 2.184 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002148/0.2826, allocations: 1.797 MB / 1.092 GB, free: 388 kB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.353e-05/0.2827, allocations: 45.7 kB / 1.092 GB, free: 336 kB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004758/0.2832, allocations: 0.5841 MB / 1.093 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.2833, allocations: 114.3 kB / 1.093 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002532/0.2835, allocations: 238.8 kB / 1.093 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.2837, allocations: 349.9 kB / 1.094 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004998/0.2842, allocations: 330.4 kB / 1.094 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008626/0.2851, allocations: 0.9364 MB / 1.095 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/0.2864, allocations: 1.275 MB / 1.096 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.2864, allocations: 8 kB / 1.096 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002157/0.2886, allocations: 1.465 MB / 1.098 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.2886, allocations: 12 kB / 1.098 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/0.2886, allocations: 24 kB / 1.098 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005649/0.2892, allocations: 194.7 kB / 1.098 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000682/0.2899, allocations: 235.6 kB / 1.098 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004097/0.294, allocations: 5.075 MB / 1.103 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.2951, allocations: 170.6 kB / 1.103 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.473e-05/0.2952, allocations: 60 kB / 1.103 GB, free: 4.211 MB / 0.8575 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.0005458/0.2957, allocations: 494.8 kB / 1.104 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/0.2959, allocations: 138.1 kB / 1.104 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001848/0.2961, allocations: 134.3 kB / 1.104 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2961, allocations: 4 kB / 1.104 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.2961, allocations: 0 / 1.104 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.2961, allocations: 0 / 1.104 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.2971, allocations: 0.9408 MB / 1.105 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.2971, allocations: 4 kB / 1.105 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002365/0.2974, allocations: 40.16 kB / 1.105 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004782/0.2979, allocations: 174.4 kB / 1.105 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/0.2979, allocations: 11.94 kB / 1.105 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003936/0.3018, allocations: 5.017 MB / 1.11 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3019, allocations: 4.031 kB / 1.11 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.3032, allocations: 0.8822 MB / 1.111 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004181/0.3036, allocations: 311 kB / 1.111 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/0.3037, allocations: 8 kB / 1.111 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006082/0.3044, allocations: 39.94 kB / 1.111 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.368e-05/0.3044, allocations: 31.89 kB / 1.111 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.3045, allocations: 4 kB / 1.111 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001595/0.3061, allocations: 1.22 MB / 1.112 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2e-07/0.3061, allocations: 4 kB / 1.112 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001114/0.3072, allocations: 379.6 kB / 1.113 GB, free: 9.875 MB / 0.8731 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.001544/0.3087, allocations: 1.448 MB / 1.114 GB, free: 8.387 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001597/0.3104, allocations: 1.141 MB / 1.115 GB, free: 7.211 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3104, allocations: 4.188 kB / 1.115 GB, free: 7.207 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000698/0.3111, allocations: 0.5662 MB / 1.116 GB, free: 6.602 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.3124, allocations: 339.8 kB / 1.116 GB, free: 6.273 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01537/0.3278, allocations: 12.94 MB / 1.129 GB, free: 8.344 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008926/0.3287, allocations: 1.308 MB / 1.13 GB, free: 7.004 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0006056/0.3294, allocations: 244.8 kB / 1.13 GB, free: 6.762 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005587/0.3299, allocations: 483.3 kB / 1.131 GB, free: 6.289 MB / 0.8887 GB Notification: Performance of SimCode: time 4.2e-07/0.3299, allocations: 0 / 1.131 GB, free: 6.289 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05321/0.3831, allocations: 27.79 MB / 1.158 GB, free: 10.88 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.215/9.598, allocations: 0 / 1.158 GB, free: 10.88 MB / 0.92 GB (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 50 --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) 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) Reference file matches