Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_HeatTransfer_Examples_ConductorStepResponse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorStepResponse,fileNamePrefix="Buildings_9_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.001557/0.001557, allocations: 112.5 kB / 15.73 MB, free: 76 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.001699/0.001699, allocations: 193.7 kB / 16.67 MB, free: 6.574 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.302/2.302, allocations: 390.2 MB / 0.6648 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 61.75 kB / 0.9504 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2202, allocations: 140.4 MB / 1.087 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.005367/0.2256, allocations: 4.791 MB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004482/0.2301, allocations: 3.261 MB / 1.095 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003286/0.2304, allocations: 23.88 kB / 1.095 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.2317, allocations: 0.5322 MB / 1.096 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001141/0.2328, allocations: 0.7116 MB / 1.097 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.2341, allocations: 0.6367 MB / 1.097 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002377/0.2365, allocations: 2.586 MB / 1.1 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003712/0.2369, allocations: 301.4 kB / 1.1 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009581/0.2378, allocations: 0.8138 MB / 1.101 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008389/0.2387, allocations: 0.7508 MB / 1.101 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.2388, allocations: 84 kB / 1.102 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001792/0.239, allocations: 92 kB / 1.102 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004789/0.2395, allocations: 0.5219 MB / 1.102 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006771/0.2402, allocations: 0.746 MB / 1.103 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.2416, allocations: 1.673 MB / 1.105 GB, free: 448 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.2416, allocations: 0 / 1.105 GB, free: 448 kB / 0.8575 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2417, allocations: 0 / 1.105 GB, free: 448 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.918e-05/0.2417, allocations: 0 / 1.105 GB, free: 448 kB / 0.8575 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.003111/0.2448, allocations: 1.99 MB / 1.106 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.2448, allocations: 8.031 kB / 1.106 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.657e-05/0.2449, allocations: 90.7 kB / 1.107 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002179/0.2452, allocations: 179.8 kB / 1.107 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001831/0.247, allocations: 1.165 MB / 1.108 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.03e-05/0.2471, allocations: 57.38 kB / 1.108 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.2472, allocations: 80.38 kB / 1.108 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008174/0.248, allocations: 0.5633 MB / 1.109 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.248, allocations: 3.938 kB / 1.109 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.225e-05/0.2481, allocations: 20 kB / 1.109 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.2481, allocations: 12 kB / 1.109 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005801/0.2487, allocations: 363.6 kB / 1.109 GB, free: 11.77 MB / 0.8731 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.004637/0.2533, allocations: 3.863 MB / 1.113 GB, free: 7.598 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.2545, allocations: 0.5128 MB / 1.113 GB, free: 7.078 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002874/0.2548, allocations: 188.7 kB / 1.113 GB, free: 6.891 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.2548, allocations: 4 kB / 1.113 GB, free: 6.887 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.2548, allocations: 38.56 kB / 1.113 GB, free: 6.84 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 1.683e-06/0.2548, allocations: 0 / 1.113 GB, free: 6.84 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.002012/0.2568, allocations: 1.089 MB / 1.115 GB, free: 5.68 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.2569, allocations: 59.41 kB / 1.115 GB, free: 5.609 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002115/0.259, allocations: 1.785 MB / 1.116 GB, free: 3.816 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.576e-05/0.2591, allocations: 45.7 kB / 1.116 GB, free: 3.766 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004739/0.2595, allocations: 0.5886 MB / 1.117 GB, free: 3.172 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.2597, allocations: 119 kB / 1.117 GB, free: 3.055 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002573/0.2599, allocations: 234.9 kB / 1.117 GB, free: 2.82 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.2601, allocations: 349.9 kB / 1.118 GB, free: 2.473 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000488/0.2606, allocations: 330.4 kB / 1.118 GB, free: 2.148 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008595/0.2614, allocations: 0.9364 MB / 1.119 GB, free: 0.9062 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/0.2628, allocations: 1.279 MB / 1.12 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-05/0.2628, allocations: 8 kB / 1.12 GB, free: 15.31 MB / 0.8887 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002151/0.2649, allocations: 1.457 MB / 1.122 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.265, allocations: 16 kB / 1.122 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/0.265, allocations: 24 kB / 1.122 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005666/0.2656, allocations: 190.6 kB / 1.122 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006879/0.2663, allocations: 239.6 kB / 1.122 GB, free: 13.37 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004067/0.2704, allocations: 5.067 MB / 1.127 GB, free: 7.883 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/0.2714, allocations: 178.9 kB / 1.127 GB, free: 7.707 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.707e-05/0.2715, allocations: 60 kB / 1.127 GB, free: 7.648 MB / 0.8887 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.0005157/0.272, allocations: 497 kB / 1.128 GB, free: 7.152 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/0.2722, allocations: 139.1 kB / 1.128 GB, free: 7.016 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001845/0.2724, allocations: 134.3 kB / 1.128 GB, free: 6.883 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2724, allocations: 0 / 1.128 GB, free: 6.883 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.2724, allocations: 4 kB / 1.128 GB, free: 6.879 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.2724, allocations: 0 / 1.128 GB, free: 6.879 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.2734, allocations: 0.9484 MB / 1.129 GB, free: 5.879 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.2735, allocations: 192 / 1.129 GB, free: 5.879 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.2737, allocations: 51.97 kB / 1.129 GB, free: 5.828 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004793/0.2742, allocations: 166.4 kB / 1.129 GB, free: 5.656 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/0.2742, allocations: 19.88 kB / 1.129 GB, free: 5.637 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003927/0.2782, allocations: 5.017 MB / 1.134 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2782, allocations: 0 / 1.134 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.2795, allocations: 0.9024 MB / 1.135 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004717/0.2799, allocations: 304 kB / 1.135 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/0.2801, allocations: 11.98 kB / 1.135 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005999/0.2807, allocations: 39.94 kB / 1.135 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.347e-05/0.2808, allocations: 27.91 kB / 1.135 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.2808, allocations: 4 kB / 1.135 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001563/0.2824, allocations: 1.212 MB / 1.136 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2824, allocations: 0 / 1.136 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.00106/0.2834, allocations: 375.8 kB / 1.137 GB, free: 13.3 MB / 0.9044 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.285, allocations: 1.453 MB / 1.138 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001507/0.2865, allocations: 1.106 MB / 1.139 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2865, allocations: 4.062 kB / 1.139 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0007072/0.2872, allocations: 0.5662 MB / 1.14 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.2886, allocations: 340.9 kB / 1.14 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01471/0.3033, allocations: 12.06 MB / 1.152 GB, free: 12.89 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008808/0.3043, allocations: 1.323 MB / 1.153 GB, free: 11.53 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0005541/0.3048, allocations: 236.8 kB / 1.153 GB, free: 11.3 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005781/0.3054, allocations: 491.3 kB / 1.154 GB, free: 10.82 MB / 0.92 GB Notification: Performance of SimCode: time 3.61e-07/0.3054, allocations: 0 / 1.154 GB, free: 10.82 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05512/0.3605, allocations: 28.01 MB / 1.181 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.53, allocations: 5.719 kB / 1.181 GB, free: 15.18 MB / 0.9512 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_HeatTransfer_Examples_ConductorStepResponse.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorStepResponse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches