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.008944/0.008953, allocations: 99.44 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.002289/0.002289, allocations: 193.5 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.798/1.798, allocations: 222.9 MB / 240.4 MB, free: 4.297 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.924/2.924, allocations: 437.1 MB / 0.7105 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002556/0.002556, allocations: 63.89 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3132, allocations: 151.6 MB / 1.166 GB, free: 7.258 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003402/0.3167, allocations: 1.885 MB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002357/0.319, allocations: 1.565 MB / 1.17 GB, free: 3.777 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.737e-05/0.3191, allocations: 7.938 kB / 1.17 GB, free: 3.77 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002192/0.3194, allocations: 31.72 kB / 1.17 GB, free: 3.738 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002832/0.3197, allocations: 75.61 kB / 1.17 GB, free: 3.664 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004516/0.3201, allocations: 181.6 kB / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003437/0.3205, allocations: 277.4 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.3206, allocations: 41.33 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.3207, allocations: 91.81 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002368/0.321, allocations: 107.7 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.68e-05/0.321, allocations: 20 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.3212, allocations: 87.89 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.3213, allocations: 91.73 kB / 1.171 GB, free: 2.793 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.3215, allocations: 123.3 kB / 1.171 GB, free: 2.672 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004219/0.3219, allocations: 322.6 kB / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3219, allocations: 0 / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3219, allocations: 0 / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.448e-05/0.3219, allocations: 4 kB / 1.171 GB, free: 2.352 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.0008946/0.3228, allocations: 0.569 MB / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.3229, allocations: 8.031 kB / 1.172 GB, free: 1.727 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.751e-05/0.323, allocations: 54.73 kB / 1.172 GB, free: 1.664 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.3231, allocations: 32.75 kB / 1.172 GB, free: 1.633 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003358/0.3235, allocations: 286.8 kB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.3235, allocations: 16.38 kB / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.3235, allocations: 19.92 kB / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004253/0.324, allocations: 232.9 kB / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.324, allocations: 4 kB / 1.172 GB, free: 1.031 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.324, allocations: 11.98 kB / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.324, allocations: 4 kB / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009589/0.325, allocations: 0.7567 MB / 1.173 GB, free: 264 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.3261, allocations: 0.6293 MB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005455/0.3267, allocations: 305.9 kB / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.3269, allocations: 109.4 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.812e-05/0.3269, allocations: 28.19 kB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003883/0.3273, allocations: 180.6 kB / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=35): time 1.884e-06/0.3273, allocations: 0 / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35): time 0.0007264/0.328, allocations: 384.9 kB / 1.174 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.938e-05/0.3281, allocations: 132.5 kB / 1.175 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003337/0.3285, allocations: 312.9 kB / 1.175 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.3285, allocations: 37.64 kB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.655e-05/0.3286, allocations: 132.7 kB / 1.175 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.3288, allocations: 122.9 kB / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.3289, allocations: 65.69 kB / 1.175 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.329, allocations: 338.8 kB / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.3292, allocations: 79.95 kB / 1.176 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.3294, allocations: 119.4 kB / 1.176 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003711/0.3298, allocations: 226.2 kB / 1.176 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3298, allocations: 0 / 1.176 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000495/0.3303, allocations: 289.1 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3303, allocations: 7.938 kB / 1.176 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3303, allocations: 0 / 1.176 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.3304, allocations: 3.984 kB / 1.176 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.3306, allocations: 63.91 kB / 1.176 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3306, allocations: 0 / 1.176 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.3308, allocations: 27.88 kB / 1.176 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.3308, allocations: 8 kB / 1.176 GB, free: 12.55 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.0001823/0.331, allocations: 165.8 kB / 1.176 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.218e-05/0.3311, allocations: 35.75 kB / 1.177 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000736/0.3318, allocations: 388.9 kB / 1.177 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3318, allocations: 4 kB / 1.177 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3318, allocations: 0 / 1.177 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.3318, allocations: 3.984 kB / 1.177 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003913/0.3322, allocations: 349.2 kB / 1.177 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3322, allocations: 0 / 1.177 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.3324, allocations: 59.97 kB / 1.177 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.3325, allocations: 7.875 kB / 1.177 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.3325, allocations: 8 kB / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.3325, allocations: 8 kB / 1.177 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3325, allocations: 0 / 1.177 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005282/0.333, allocations: 325.8 kB / 1.178 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.3332, allocations: 144.8 kB / 1.178 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.312e-05/0.3332, allocations: 7.984 kB / 1.178 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.3334, allocations: 27.95 kB / 1.178 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.145e-05/0.3335, allocations: 31.83 kB / 1.178 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/0.3336, allocations: 15.98 kB / 1.178 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002371/0.3338, allocations: 232.5 kB / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3338, allocations: 0 / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003199/0.3341, allocations: 75.88 kB / 1.178 GB, free: 10.59 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.002164/0.3363, allocations: 1.161 MB / 1.179 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004328/0.3367, allocations: 227.7 kB / 1.179 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3368, allocations: 0 / 1.179 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.337, allocations: 131.7 kB / 1.18 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.3373, allocations: 47.8 kB / 1.18 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003256/0.3405, allocations: 2.537 MB / 1.182 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/0.341, allocations: 0.7656 MB / 1.183 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003404/0.3413, allocations: 150.8 kB / 1.183 GB, free: 5.598 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/0.3415, allocations: 95.39 kB / 1.183 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of SimCode: time 4.31e-07/0.3415, allocations: 0 / 1.183 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03176/0.3733, allocations: 6.035 MB / 1.189 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.91, allocations: 8.922 kB / 1.189 GB, free: 15.6 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