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.00722/0.00722, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001804/0.001804, allocations: 192.9 kB / 16.67 MB, free: 5.52 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.155/2.155, allocations: 390.3 MB / 0.6648 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.89 kB / 0.9504 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6374/0.6387, allocations: 140.4 MB / 1.087 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.004517/0.6433, allocations: 4.779 MB / 1.092 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004307/0.6476, allocations: 3.257 MB / 1.095 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003852/0.648, allocations: 26.06 kB / 1.095 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.6494, allocations: 0.535 MB / 1.096 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.6507, allocations: 0.7029 MB / 1.097 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.6521, allocations: 0.6447 MB / 1.097 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002901/0.6551, allocations: 2.583 MB / 1.1 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004073/0.6555, allocations: 295.8 kB / 1.1 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.6566, allocations: 0.7938 MB / 1.101 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009355/0.6575, allocations: 0.756 MB / 1.101 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001515/0.6577, allocations: 84.91 kB / 1.102 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002175/0.6579, allocations: 93.19 kB / 1.102 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0006457/0.6586, allocations: 0.5198 MB / 1.102 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007773/0.6593, allocations: 0.7446 MB / 1.103 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.6609, allocations: 1.665 MB / 1.105 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.6609, allocations: 0 / 1.105 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6609, allocations: 0 / 1.105 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.808e-05/0.6609, allocations: 0 / 1.105 GB, free: 11.54 MB / 0.8731 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.003255/0.6642, allocations: 1.931 MB / 1.106 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.6642, allocations: 13.72 kB / 1.106 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.812e-05/0.6643, allocations: 90.52 kB / 1.106 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002351/0.6646, allocations: 170.5 kB / 1.107 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001888/0.6665, allocations: 1.158 MB / 1.108 GB, free: 9.512 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.321e-05/0.6665, allocations: 59.66 kB / 1.108 GB, free: 9.48 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.6666, allocations: 81.66 kB / 1.108 GB, free: 9.453 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008549/0.6675, allocations: 0.5688 MB / 1.108 GB, free: 9.168 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.6675, allocations: 4 kB / 1.108 GB, free: 9.164 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.402e-05/0.6676, allocations: 20.94 kB / 1.108 GB, free: 9.148 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.6676, allocations: 12.69 kB / 1.109 GB, free: 9.148 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006007/0.6682, allocations: 359.4 kB / 1.109 GB, free: 9.035 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.005096/0.6733, allocations: 3.852 MB / 1.113 GB, free: 6.227 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.6745, allocations: 0.5001 MB / 1.113 GB, free: 6.062 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003092/0.6748, allocations: 196.7 kB / 1.113 GB, free: 5.992 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.6748, allocations: 6.984 kB / 1.113 GB, free: 5.988 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.6749, allocations: 36.88 kB / 1.113 GB, free: 5.945 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 1.753e-06/0.6749, allocations: 4 kB / 1.113 GB, free: 5.941 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.002076/0.677, allocations: 1.087 MB / 1.114 GB, free: 5.348 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.677, allocations: 56.17 kB / 1.114 GB, free: 5.285 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002303/0.6793, allocations: 1.774 MB / 1.116 GB, free: 4.648 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.847e-05/0.6794, allocations: 41.45 kB / 1.116 GB, free: 4.605 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004808/0.6799, allocations: 0.5899 MB / 1.117 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.68, allocations: 109.8 kB / 1.117 GB, free: 4.059 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002802/0.6803, allocations: 242.1 kB / 1.117 GB, free: 3.949 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.6804, allocations: 348.9 kB / 1.117 GB, free: 3.629 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000528/0.6809, allocations: 323 kB / 1.118 GB, free: 3.547 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009135/0.6819, allocations: 0.9467 MB / 1.119 GB, free: 2.605 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.6833, allocations: 1.272 MB / 1.12 GB, free: 1.477 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/0.6833, allocations: 6.594 kB / 1.12 GB, free: 1.477 MB / 0.8731 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002218/0.6855, allocations: 1.457 MB / 1.121 GB, free: 0.8984 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.6855, allocations: 15.06 kB / 1.121 GB, free: 0.8984 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.266e-05/0.6856, allocations: 21.84 kB / 1.121 GB, free: 0.8984 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005819/0.6862, allocations: 195.4 kB / 1.122 GB, free: 0.8438 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006781/0.6868, allocations: 244.5 kB / 1.122 GB, free: 0.8125 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004217/0.6911, allocations: 5.064 MB / 1.127 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.6922, allocations: 174.2 kB / 1.127 GB, free: 12.17 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.216e-05/0.6923, allocations: 60.06 kB / 1.127 GB, free: 12.16 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.0005771/0.6929, allocations: 482.1 kB / 1.127 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/0.6931, allocations: 137.5 kB / 1.128 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002033/0.6933, allocations: 135 kB / 1.128 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.6933, allocations: 7.781 kB / 1.128 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.6933, allocations: 1.844 kB / 1.128 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.6934, allocations: 2.984 kB / 1.128 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.6945, allocations: 0.9312 MB / 1.129 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.6945, allocations: 0 / 1.129 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.6948, allocations: 44.73 kB / 1.129 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005045/0.6953, allocations: 169.2 kB / 1.129 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.075e-05/0.6953, allocations: 13.19 kB / 1.129 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004083/0.6994, allocations: 5.031 MB / 1.134 GB, free: 6.684 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.6994, allocations: 0.6562 kB / 1.134 GB, free: 6.684 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.7008, allocations: 0.8843 MB / 1.135 GB, free: 6.246 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004967/0.7013, allocations: 299.6 kB / 1.135 GB, free: 6.031 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/0.7015, allocations: 12.72 kB / 1.135 GB, free: 6.023 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006151/0.7021, allocations: 43.62 kB / 1.135 GB, free: 6.016 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.874e-05/0.7022, allocations: 24.38 kB / 1.135 GB, free: 6.012 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.7022, allocations: 6.344 kB / 1.135 GB, free: 6.012 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001751/0.704, allocations: 1.205 MB / 1.136 GB, free: 5.582 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.7e-07/0.704, allocations: 0 / 1.136 GB, free: 5.582 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001174/0.7052, allocations: 379.2 kB / 1.137 GB, free: 5.539 MB / 0.8887 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.001628/0.7068, allocations: 1.45 MB / 1.138 GB, free: 4.559 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001577/0.7084, allocations: 1.106 MB / 1.139 GB, free: 3.98 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.7084, allocations: 1.125 kB / 1.139 GB, free: 3.98 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0007562/0.7092, allocations: 0.566 MB / 1.14 GB, free: 3.566 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/0.7106, allocations: 342.9 kB / 1.14 GB, free: 3.438 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01668/0.7273, allocations: 12.02 MB / 1.152 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/0.7284, allocations: 1.315 MB / 1.153 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0006285/0.729, allocations: 242.9 kB / 1.153 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000598/0.7296, allocations: 483.2 kB / 1.154 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of SimCode: time 3.4e-07/0.7296, allocations: 1.094 kB / 1.154 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05812/0.7877, allocations: 28.02 MB / 1.181 GB, free: 11.81 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.81, allocations: 3.938 kB / 1.181 GB, free: 11.81 MB / 0.92 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