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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.005971/0.005971, allocations: 99.64 kB / 15.73 MB, free: 6.039 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.00128/0.00128, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.583/2.583, allocations: 469.4 MB / 0.7422 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 60.12 kB / 1.064 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6369/0.6381, allocations: 159.1 MB / 1.22 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.005648/0.6438, allocations: 4.791 MB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0049/0.6487, allocations: 3.264 MB / 1.228 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005787/0.6493, allocations: 23.88 kB / 1.228 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001416/0.6508, allocations: 0.5322 MB / 1.228 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001373/0.6522, allocations: 0.6998 MB / 1.229 GB, free: 8.93 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.6536, allocations: 0.651 MB / 1.229 GB, free: 8.277 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002669/0.6563, allocations: 2.583 MB / 1.232 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004158/0.6567, allocations: 293.4 kB / 1.232 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001154/0.6579, allocations: 0.8216 MB / 1.233 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.6589, allocations: 0.7548 MB / 1.234 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001886/0.6591, allocations: 84 kB / 1.234 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002529/0.6593, allocations: 92 kB / 1.234 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0005253/0.6599, allocations: 0.518 MB / 1.234 GB, free: 3.105 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000804/0.6607, allocations: 0.7421 MB / 1.235 GB, free: 2.359 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001517/0.6622, allocations: 1.673 MB / 1.237 GB, free: 0.6797 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.6622, allocations: 0 / 1.237 GB, free: 0.6797 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6622, allocations: 0 / 1.237 GB, free: 0.6797 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.005e-05/0.6623, allocations: 0 / 1.237 GB, free: 0.6797 MB / 0.9512 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.00332/0.6656, allocations: 1.983 MB / 1.239 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.6657, allocations: 12.62 kB / 1.239 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.881e-05/0.6657, allocations: 86.7 kB / 1.239 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002228/0.666, allocations: 179.8 kB / 1.239 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001855/0.6678, allocations: 1.165 MB / 1.24 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.785e-05/0.6679, allocations: 61.31 kB / 1.24 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.668, allocations: 87.94 kB / 1.24 GB, free: 13 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008264/0.6688, allocations: 0.5516 MB / 1.241 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.6689, allocations: 8 kB / 1.241 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.155e-05/0.6689, allocations: 20 kB / 1.241 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.6689, allocations: 12 kB / 1.241 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005945/0.6695, allocations: 355.6 kB / 1.241 GB, free: 12.03 MB / 0.9669 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.004662/0.6742, allocations: 3.863 MB / 1.245 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/0.6754, allocations: 0.5065 MB / 1.245 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002921/0.6757, allocations: 192.8 kB / 1.246 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.6757, allocations: 4 kB / 1.246 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.6757, allocations: 42.5 kB / 1.246 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=30): time 1.984e-06/0.6758, allocations: 8 kB / 1.246 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30): time 0.002034/0.6778, allocations: 1.092 MB / 1.247 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.6778, allocations: 51.41 kB / 1.247 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002159/0.68, allocations: 1.785 MB / 1.249 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.528e-05/0.6801, allocations: 49.64 kB / 1.249 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004736/0.6805, allocations: 0.5847 MB / 1.249 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.6806, allocations: 115 kB / 1.249 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002607/0.6809, allocations: 246.8 kB / 1.25 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.681, allocations: 349.9 kB / 1.25 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004987/0.6816, allocations: 322.4 kB / 1.25 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000863/0.6824, allocations: 0.9481 MB / 1.251 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/0.6838, allocations: 1.271 MB / 1.252 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/0.6838, allocations: 8 kB / 1.252 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002182/0.686, allocations: 1.454 MB / 1.254 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.686, allocations: 16 kB / 1.254 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/0.686, allocations: 23.98 kB / 1.254 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005733/0.6866, allocations: 198.7 kB / 1.254 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007015/0.6873, allocations: 235.6 kB / 1.254 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004087/0.6914, allocations: 5.08 MB / 1.259 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.6925, allocations: 179 kB / 1.259 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.49e-05/0.6926, allocations: 60 kB / 1.259 GB, free: 7.879 MB / 0.9825 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.0005118/0.6931, allocations: 485.6 kB / 1.26 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/0.6933, allocations: 143 kB / 1.26 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001902/0.6935, allocations: 130.4 kB / 1.26 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.6935, allocations: 8 kB / 1.26 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.6935, allocations: 4.25 kB / 1.26 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.6935, allocations: 0 / 1.26 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.6945, allocations: 0.933 MB / 1.261 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.6945, allocations: 0 / 1.261 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002492/0.6948, allocations: 51.89 kB / 1.261 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004869/0.6953, allocations: 170.4 kB / 1.261 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.6953, allocations: 4 kB / 1.261 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003953/0.6993, allocations: 5.028 MB / 1.266 GB, free: 456 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6993, allocations: 0 / 1.266 GB, free: 456 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.7006, allocations: 0.9036 MB / 1.267 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004775/0.7011, allocations: 311.9 kB / 1.267 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/0.7012, allocations: 8 kB / 1.267 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006303/0.7019, allocations: 47.92 kB / 1.267 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.511e-05/0.7019, allocations: 23.97 kB / 1.267 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.702, allocations: 4 kB / 1.267 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001575/0.7035, allocations: 1.204 MB / 1.269 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7036, allocations: 0 / 1.269 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001067/0.7046, allocations: 383.7 kB / 1.269 GB, free: 13.54 MB / 0.9981 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.00155/0.7062, allocations: 1.461 MB / 1.27 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001512/0.7077, allocations: 1.105 MB / 1.271 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7077, allocations: 0 / 1.271 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007158/0.7085, allocations: 0.5676 MB / 1.272 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/0.7099, allocations: 343.8 kB / 1.272 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01486/0.7247, allocations: 12.07 MB / 1.284 GB, free: 13.11 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008777/0.7256, allocations: 1.308 MB / 1.285 GB, free: 11.77 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005427/0.7262, allocations: 240.8 kB / 1.286 GB, free: 11.54 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005701/0.7268, allocations: 483.3 kB / 1.286 GB, free: 11.06 MB / 1.014 GB Notification: Performance of SimCode: time 4.71e-07/0.7268, allocations: 0 / 1.286 GB, free: 11.06 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0551/0.7819, allocations: 28.01 MB / 1.313 GB, free: 15.47 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.52, allocations: 11.98 kB / 1.314 GB, free: 15.46 MB / 1.045 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