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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.007304/0.007303, allocations: 100 kB / 15.73 MB, free: 6.055 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.002034/0.002034, allocations: 192.1 kB / 16.68 MB, free: 5.969 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.504/1.504, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.784/2.784, allocations: 482.4 MB / 0.7548 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 63.56 kB / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2723, allocations: 162.2 MB / 1.241 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.006208/0.2786, allocations: 4.785 MB / 1.246 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005292/0.2839, allocations: 3.268 MB / 1.249 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005808/0.2845, allocations: 27.81 kB / 1.249 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001477/0.286, allocations: 0.5283 MB / 1.25 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001415/0.2874, allocations: 0.7116 MB / 1.251 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001455/0.2889, allocations: 0.638 MB / 1.251 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002791/0.2917, allocations: 2.583 MB / 1.254 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004206/0.2921, allocations: 297.4 kB / 1.254 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.2931, allocations: 0.7982 MB / 1.255 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009769/0.2941, allocations: 0.7547 MB / 1.255 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001646/0.2943, allocations: 84 kB / 1.256 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002395/0.2945, allocations: 92 kB / 1.256 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005704/0.2951, allocations: 0.518 MB / 1.256 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007555/0.2959, allocations: 0.7422 MB / 1.257 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001666/0.2976, allocations: 1.673 MB / 1.258 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.2976, allocations: 0 / 1.258 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2976, allocations: 0 / 1.258 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.45e-05/0.2976, allocations: 4 kB / 1.259 GB, free: 7.742 MB / 0.9825 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.00327/0.3009, allocations: 1.982 MB / 1.26 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.3009, allocations: 12.03 kB / 1.26 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.982e-05/0.301, allocations: 82.72 kB / 1.261 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002436/0.3013, allocations: 183.8 kB / 1.261 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/0.3031, allocations: 1.165 MB / 1.262 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.979e-05/0.3032, allocations: 57.38 kB / 1.262 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.3033, allocations: 84.38 kB / 1.262 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008911/0.3042, allocations: 0.5594 MB / 1.263 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.3042, allocations: 7.938 kB / 1.263 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.736e-05/0.3043, allocations: 23.98 kB / 1.263 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.3043, allocations: 12 kB / 1.263 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006358/0.3049, allocations: 351.6 kB / 1.263 GB, free: 3.09 MB / 0.9825 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.004933/0.3099, allocations: 3.867 MB / 1.267 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.3111, allocations: 0.4988 MB / 1.267 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003146/0.3114, allocations: 188.8 kB / 1.267 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.3115, allocations: 7.938 kB / 1.267 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.3115, allocations: 38.56 kB / 1.267 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=30): time 1.492e-06/0.3115, allocations: 0 / 1.267 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30): time 0.002203/0.3137, allocations: 1.096 MB / 1.268 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.3138, allocations: 55.41 kB / 1.269 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002395/0.3162, allocations: 1.778 MB / 1.27 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.069e-05/0.3162, allocations: 45.7 kB / 1.27 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005626/0.3168, allocations: 0.6002 MB / 1.271 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.3169, allocations: 107 kB / 1.271 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002972/0.3172, allocations: 246.8 kB / 1.271 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.3174, allocations: 349.9 kB / 1.272 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000538/0.318, allocations: 322.4 kB / 1.272 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.319, allocations: 0.9442 MB / 1.273 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001552/0.3206, allocations: 1.271 MB / 1.274 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.3206, allocations: 8 kB / 1.274 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002354/0.3229, allocations: 1.458 MB / 1.275 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.323, allocations: 18.19 kB / 1.275 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.112e-05/0.323, allocations: 20 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000601/0.3236, allocations: 202.7 kB / 1.276 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007301/0.3244, allocations: 235.6 kB / 1.276 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00473/0.3291, allocations: 5.079 MB / 1.281 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.3302, allocations: 174.9 kB / 1.281 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.628e-05/0.3303, allocations: 63.98 kB / 1.281 GB, free: 14.95 MB / 1.014 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.0005746/0.3308, allocations: 485.5 kB / 1.282 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/0.331, allocations: 143 kB / 1.282 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.3312, allocations: 134.3 kB / 1.282 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.3313, allocations: 8.062 kB / 1.282 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.3313, allocations: 4.25 kB / 1.282 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3313, allocations: 0 / 1.282 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.3324, allocations: 0.9329 MB / 1.283 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3324, allocations: 0 / 1.283 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/0.3327, allocations: 39.97 kB / 1.283 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005093/0.3332, allocations: 174.4 kB / 1.283 GB, free: 12.97 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/0.3332, allocations: 15.94 kB / 1.283 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004565/0.3378, allocations: 5.022 MB / 1.288 GB, free: 7.52 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3378, allocations: 3.938 kB / 1.288 GB, free: 7.516 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/0.3392, allocations: 0.8957 MB / 1.289 GB, free: 6.594 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004243/0.3397, allocations: 307.9 kB / 1.289 GB, free: 6.273 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.3398, allocations: 16 kB / 1.289 GB, free: 6.258 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005992/0.3404, allocations: 35.94 kB / 1.289 GB, free: 6.223 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.93e-05/0.3405, allocations: 31.89 kB / 1.289 GB, free: 6.191 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.3405, allocations: 8 kB / 1.289 GB, free: 6.184 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001726/0.3423, allocations: 1.204 MB / 1.29 GB, free: 4.984 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3423, allocations: 0 / 1.29 GB, free: 4.984 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001087/0.3434, allocations: 379.7 kB / 1.291 GB, free: 4.613 MB / 1.014 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.001749/0.3451, allocations: 1.452 MB / 1.292 GB, free: 3.121 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001661/0.3468, allocations: 1.101 MB / 1.293 GB, free: 1.984 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3468, allocations: 5.812 kB / 1.293 GB, free: 1.98 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007846/0.3476, allocations: 0.5745 MB / 1.294 GB, free: 1.367 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/0.349, allocations: 333.6 kB / 1.294 GB, free: 1.039 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01644/0.3655, allocations: 12.07 MB / 1.306 GB, free: 4.199 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/0.3665, allocations: 1.316 MB / 1.307 GB, free: 2.852 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005642/0.3671, allocations: 240.8 kB / 1.307 GB, free: 2.613 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006323/0.3677, allocations: 483.2 kB / 1.308 GB, free: 2.141 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.3677, allocations: 0 / 1.308 GB, free: 2.141 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06662/0.4343, allocations: 28.02 MB / 1.335 GB, free: 6.535 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.35, allocations: 11.98 kB / 1.335 GB, free: 6.523 MB / 1.061 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 400 --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