Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",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.006142/0.006142, allocations: 98.56 kB / 15.73 MB, free: 6.059 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.001188/0.001188, allocations: 195.9 kB / 16.68 MB, free: 5.977 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.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.538/2.538, allocations: 437 MB / 0.7105 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 63.91 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2672, allocations: 151.6 MB / 1.166 GB, free: 7.34 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003263/0.2705, allocations: 1.873 MB / 1.168 GB, free: 5.445 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002106/0.2726, allocations: 1.577 MB / 1.17 GB, free: 3.859 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.331e-05/0.2727, allocations: 0 / 1.17 GB, free: 3.859 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002322/0.2729, allocations: 35.77 kB / 1.17 GB, free: 3.824 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002903/0.2733, allocations: 78.81 kB / 1.17 GB, free: 3.75 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004185/0.2737, allocations: 179 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003015/0.274, allocations: 277.4 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.2741, allocations: 49.3 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.727e-05/0.2742, allocations: 91.81 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.2744, allocations: 103.7 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.139e-05/0.2745, allocations: 20 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.2747, allocations: 83.91 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.2748, allocations: 91.73 kB / 1.171 GB, free: 2.879 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.2749, allocations: 115.3 kB / 1.171 GB, free: 2.766 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000362/0.2753, allocations: 330.6 kB / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2753, allocations: 4 kB / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.714e-06/0.2753, allocations: 0 / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.779e-06/0.2753, allocations: 0 / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007577/0.2761, allocations: 0.5768 MB / 1.171 GB, free: 1.812 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.2761, allocations: 12.03 kB / 1.172 GB, free: 1.801 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.351e-05/0.2762, allocations: 50.73 kB / 1.172 GB, free: 1.742 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.2763, allocations: 36.75 kB / 1.172 GB, free: 1.707 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.2766, allocations: 274.9 kB / 1.172 GB, free: 1.402 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.2767, allocations: 16.31 kB / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.2767, allocations: 27.94 kB / 1.172 GB, free: 1.359 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003715/0.2771, allocations: 236.9 kB / 1.172 GB, free: 1.109 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.2771, allocations: 0 / 1.172 GB, free: 1.109 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/0.2771, allocations: 8 kB / 1.172 GB, free: 1.102 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.2771, allocations: 8 kB / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008269/0.278, allocations: 0.7529 MB / 1.173 GB, free: 348 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.279, allocations: 0.6332 MB / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004642/0.2795, allocations: 305.8 kB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.2796, allocations: 109.4 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.566e-05/0.2797, allocations: 20.25 kB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003421/0.28, allocations: 184.6 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=35): time 1.693e-06/0.28, allocations: 0 / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35): time 0.0006384/0.2807, allocations: 388.9 kB / 1.174 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/0.2808, allocations: 132.5 kB / 1.175 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.281, allocations: 308.9 kB / 1.175 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.2811, allocations: 33.7 kB / 1.175 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.948e-05/0.2811, allocations: 132.7 kB / 1.175 GB, free: 14 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.531e-05/0.2812, allocations: 127 kB / 1.175 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.486e-05/0.2813, allocations: 65.69 kB / 1.175 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.2815, allocations: 338.8 kB / 1.176 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.2816, allocations: 79.95 kB / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.2818, allocations: 123.4 kB / 1.176 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/0.2821, allocations: 218.2 kB / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2821, allocations: 0 / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004141/0.2825, allocations: 285.1 kB / 1.176 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.2825, allocations: 11.94 kB / 1.176 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2826, allocations: 3.984 kB / 1.176 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.2826, allocations: 0 / 1.176 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.2828, allocations: 63.91 kB / 1.176 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.2828, allocations: 4 kB / 1.176 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.283, allocations: 25.56 kB / 1.176 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.283, allocations: 12 kB / 1.176 GB, free: 12.63 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001499/0.2832, allocations: 165.8 kB / 1.176 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.33e-05/0.2832, allocations: 31.75 kB / 1.177 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006575/0.2839, allocations: 384.9 kB / 1.177 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.2839, allocations: 11.92 kB / 1.177 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.2839, allocations: 0 / 1.177 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2839, allocations: 0 / 1.177 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003114/0.2842, allocations: 353.2 kB / 1.177 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2842, allocations: 0 / 1.177 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/0.2844, allocations: 55.91 kB / 1.177 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.2844, allocations: 7.938 kB / 1.177 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.2845, allocations: 8 kB / 1.177 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2845, allocations: 3.938 kB / 1.177 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.2845, allocations: 48 / 1.177 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004668/0.2849, allocations: 337.7 kB / 1.178 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.2851, allocations: 140.8 kB / 1.178 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.528e-05/0.2851, allocations: 11.94 kB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.2853, allocations: 27.97 kB / 1.178 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.413e-05/0.2854, allocations: 23.83 kB / 1.178 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/0.2854, allocations: 15.98 kB / 1.178 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001972/0.2856, allocations: 244.4 kB / 1.178 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2856, allocations: 0 / 1.178 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002952/0.2859, allocations: 67.89 kB / 1.178 GB, free: 10.67 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001526/0.2875, allocations: 1.149 MB / 1.179 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000379/0.2879, allocations: 235.6 kB / 1.179 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.2879, allocations: 8 kB / 1.179 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001852/0.2881, allocations: 123.8 kB / 1.18 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.2884, allocations: 61.16 kB / 1.18 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002696/0.2911, allocations: 2.541 MB / 1.182 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.2914, allocations: 0.7695 MB / 1.183 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003121/0.2917, allocations: 142.9 kB / 1.183 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.2918, allocations: 99.39 kB / 1.183 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of SimCode: time 3.51e-07/0.2918, allocations: 0 / 1.183 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02313/0.315, allocations: 6.021 MB / 1.189 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.559/7.874, allocations: 9.234 kB / 1.189 GB, free: 15.68 MB / 0.9512 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches