Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_HeatTransfer_Examples_ConductorStepResponse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorStepResponse,fileNamePrefix="Buildings_10_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.004598/0.004598, allocations: 102.1 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.281/1.281, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.392/2.392, allocations: 437 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001246, allocations: 63.84 kB / 1.018 GB, free: 9.945 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.638/0.6393, allocations: 151.6 MB / 1.166 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.005533/0.6449, allocations: 4.795 MB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004859/0.6498, allocations: 3.261 MB / 1.174 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005777/0.6503, allocations: 23.88 kB / 1.174 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001419/0.6518, allocations: 0.5244 MB / 1.175 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001406/0.6532, allocations: 0.7164 MB / 1.175 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.6546, allocations: 0.6367 MB / 1.176 GB, free: 9.777 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002661/0.6573, allocations: 2.596 MB / 1.178 GB, free: 7.176 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003978/0.6577, allocations: 293.4 kB / 1.179 GB, free: 6.875 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.6589, allocations: 0.8216 MB / 1.179 GB, free: 6.051 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009761/0.6599, allocations: 0.7469 MB / 1.18 GB, free: 5.301 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.66, allocations: 84 kB / 1.18 GB, free: 5.219 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.6602, allocations: 88 kB / 1.18 GB, free: 5.133 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004858/0.6607, allocations: 0.5219 MB / 1.181 GB, free: 4.609 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006756/0.6614, allocations: 0.746 MB / 1.182 GB, free: 3.859 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.6628, allocations: 1.669 MB / 1.183 GB, free: 2.184 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.6628, allocations: 3.938 kB / 1.183 GB, free: 2.18 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6628, allocations: 0 / 1.183 GB, free: 2.18 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.438e-05/0.6628, allocations: 4 kB / 1.183 GB, free: 2.176 MB / 0.9044 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.003059/0.6659, allocations: 1.979 MB / 1.185 GB, free: 136 kB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.666, allocations: 12.92 kB / 1.185 GB, free: 124 kB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.58e-05/0.666, allocations: 82.72 kB / 1.185 GB, free: 32 kB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002297/0.6663, allocations: 183.8 kB / 1.185 GB, free: 15.85 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001802/0.6681, allocations: 1.161 MB / 1.187 GB, free: 14.64 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.727e-05/0.6682, allocations: 61.38 kB / 1.187 GB, free: 14.59 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.6683, allocations: 80.38 kB / 1.187 GB, free: 14.51 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008276/0.6691, allocations: 0.5672 MB / 1.187 GB, free: 13.91 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.6691, allocations: 0 / 1.187 GB, free: 13.91 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.094e-05/0.6692, allocations: 16 kB / 1.187 GB, free: 13.89 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.6692, allocations: 12 kB / 1.187 GB, free: 13.88 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005762/0.6698, allocations: 363.6 kB / 1.188 GB, free: 13.52 MB / 0.92 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.004527/0.6743, allocations: 3.867 MB / 1.191 GB, free: 9.348 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.6754, allocations: 0.5087 MB / 1.192 GB, free: 8.832 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002896/0.6757, allocations: 196.8 kB / 1.192 GB, free: 8.637 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.6758, allocations: 4 kB / 1.192 GB, free: 8.633 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.6758, allocations: 34.56 kB / 1.192 GB, free: 8.59 MB / 0.92 GB Notification: Performance of pre-optimization done (n=30): time 1.432e-06/0.6758, allocations: 0 / 1.192 GB, free: 8.59 MB / 0.92 GB Notification: Performance of matching and sorting (n=30): time 0.002027/0.6778, allocations: 1.096 MB / 1.193 GB, free: 7.422 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.6779, allocations: 55.41 kB / 1.193 GB, free: 7.355 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002099/0.68, allocations: 1.778 MB / 1.195 GB, free: 5.57 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.44e-05/0.68, allocations: 45.7 kB / 1.195 GB, free: 5.52 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004667/0.6805, allocations: 0.5964 MB / 1.196 GB, free: 4.918 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.6806, allocations: 115 kB / 1.196 GB, free: 4.805 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002533/0.6809, allocations: 242.8 kB / 1.196 GB, free: 4.562 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.681, allocations: 349.9 kB / 1.196 GB, free: 4.215 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004904/0.6815, allocations: 330.3 kB / 1.197 GB, free: 3.891 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008495/0.6824, allocations: 0.9403 MB / 1.198 GB, free: 2.641 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.6837, allocations: 1.272 MB / 1.199 GB, free: 1.062 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.6837, allocations: 15.94 kB / 1.199 GB, free: 1.047 MB / 0.92 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002131/0.6858, allocations: 1.449 MB / 1.2 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.6859, allocations: 12 kB / 1.2 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/0.6859, allocations: 27.94 kB / 1.2 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005729/0.6865, allocations: 198.7 kB / 1.2 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006862/0.6872, allocations: 235.6 kB / 1.201 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004026/0.6912, allocations: 5.076 MB / 1.206 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.6923, allocations: 174.9 kB / 1.206 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.142e-05/0.6923, allocations: 60 kB / 1.206 GB, free: 9.383 MB / 0.9356 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.0004984/0.6929, allocations: 485.6 kB / 1.206 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.693, allocations: 143 kB / 1.206 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000175/0.6932, allocations: 134.4 kB / 1.207 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.6932, allocations: 11.88 kB / 1.207 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.6932, allocations: 0 / 1.207 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.6932, allocations: 7.922 kB / 1.207 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009649/0.6942, allocations: 0.9369 MB / 1.207 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.6942, allocations: 192 / 1.207 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.6945, allocations: 43.97 kB / 1.208 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004742/0.6949, allocations: 166.4 kB / 1.208 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/0.695, allocations: 15.94 kB / 1.208 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0038/0.6988, allocations: 5.014 MB / 1.213 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.6988, allocations: 4.031 kB / 1.213 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.7001, allocations: 0.8995 MB / 1.213 GB, free: 1.02 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004665/0.7005, allocations: 311.9 kB / 1.214 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/0.7007, allocations: 12 kB / 1.214 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006018/0.7013, allocations: 35.94 kB / 1.214 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.541e-05/0.7014, allocations: 27.95 kB / 1.214 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.7014, allocations: 12 kB / 1.214 GB, free: 0.6094 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001577/0.703, allocations: 1.204 MB / 1.215 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/0.703, allocations: 0 / 1.215 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001074/0.7041, allocations: 383.7 kB / 1.215 GB, free: 15.03 MB / 0.9512 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.001577/0.7057, allocations: 1.452 MB / 1.217 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001538/0.7072, allocations: 1.112 MB / 1.218 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.7072, allocations: 2 kB / 1.218 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0007076/0.7079, allocations: 0.5623 MB / 1.218 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.7093, allocations: 345 kB / 1.219 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01514/0.7245, allocations: 12.08 MB / 1.231 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008862/0.7254, allocations: 1.304 MB / 1.232 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0005567/0.7259, allocations: 252.8 kB / 1.232 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005677/0.7265, allocations: 479.3 kB / 1.233 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of SimCode: time 5.21e-07/0.7265, allocations: 3.938 kB / 1.233 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05512/0.7817, allocations: 28.02 MB / 1.26 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.98, allocations: 13.97 kB / 1.26 GB, free: 0.9102 MB / 0.9825 GB (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorStepResponse.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_HeatTransfer_Examples_ConductorStepResponse.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorStepResponse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorStepResponse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches