Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_latest_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.007451/0.007451, allocations: 96.69 kB / 15.73 MB, free: 6 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.001854/0.001854, allocations: 185.7 kB / 16.67 MB, free: 5.93 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.326/1.326, 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 11.1.0-master/package.mo): time 2.643/2.643, allocations: 469.4 MB / 0.7421 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002372/0.002372, allocations: 63.91 kB / 1.064 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3017, allocations: 159.1 MB / 1.22 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003006/0.3047, allocations: 1.863 MB / 1.222 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002139/0.3069, allocations: 1.6 MB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.884e-05/0.307, allocations: 0 / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001965/0.3072, allocations: 27.77 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002888/0.3075, allocations: 75.56 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004249/0.3079, allocations: 169.4 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002969/0.3083, allocations: 285.4 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.3084, allocations: 37 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.3085, allocations: 107.7 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002025/0.3087, allocations: 103.7 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.035e-05/0.3087, allocations: 20 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.3089, allocations: 79.97 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.309, allocations: 87.8 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.3092, allocations: 127.2 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004/0.3096, allocations: 334.6 kB / 1.225 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3096, allocations: 0 / 1.225 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.512e-06/0.3096, allocations: 0 / 1.225 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.3096, allocations: 0 / 1.225 GB, free: 9.82 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007927/0.3104, allocations: 0.5729 MB / 1.225 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.3105, allocations: 12.03 kB / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.718e-05/0.3105, allocations: 50.73 kB / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.3107, allocations: 36.75 kB / 1.225 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.311, allocations: 274.9 kB / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.311, allocations: 16.38 kB / 1.225 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.053e-05/0.311, allocations: 23.94 kB / 1.225 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003705/0.3114, allocations: 240.8 kB / 1.226 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.3114, allocations: 0 / 1.226 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.3115, allocations: 15.98 kB / 1.226 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.3115, allocations: 4 kB / 1.226 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008075/0.3123, allocations: 0.7451 MB / 1.226 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009859/0.3133, allocations: 0.6371 MB / 1.227 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004808/0.3138, allocations: 309.8 kB / 1.227 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.3139, allocations: 109.4 kB / 1.227 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.086e-05/0.314, allocations: 24.25 kB / 1.227 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003328/0.3143, allocations: 180 kB / 1.228 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=35): time 1.573e-06/0.3143, allocations: 0 / 1.228 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.0006584/0.315, allocations: 389.5 kB / 1.228 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/0.3151, allocations: 136.5 kB / 1.228 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.3154, allocations: 312.9 kB / 1.228 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.3154, allocations: 29.7 kB / 1.228 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.19e-05/0.3155, allocations: 136.7 kB / 1.229 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.552e-05/0.3156, allocations: 126.9 kB / 1.229 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.244e-05/0.3157, allocations: 65.69 kB / 1.229 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.3158, allocations: 338.8 kB / 1.229 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.3159, allocations: 79.95 kB / 1.229 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.3161, allocations: 123.4 kB / 1.229 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003126/0.3164, allocations: 214.3 kB / 1.23 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3164, allocations: 4 kB / 1.23 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004483/0.3169, allocations: 285.2 kB / 1.23 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.3169, allocations: 7.938 kB / 1.23 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3169, allocations: 7.984 kB / 1.23 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3169, allocations: 0 / 1.23 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.3172, allocations: 63.84 kB / 1.23 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.3172, allocations: 4 kB / 1.23 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.3174, allocations: 27.83 kB / 1.23 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.3174, allocations: 12 kB / 1.23 GB, free: 3.996 MB / 0.9825 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.0001445/0.3175, allocations: 165.8 kB / 1.23 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.903e-05/0.3176, allocations: 27.8 kB / 1.23 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006404/0.3182, allocations: 396.8 kB / 1.23 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.3183, allocations: 4 kB / 1.23 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.3183, allocations: 3.984 kB / 1.23 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3183, allocations: 0 / 1.23 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.3186, allocations: 341.3 kB / 1.231 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3186, allocations: 0 / 1.231 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.3188, allocations: 59.91 kB / 1.231 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.3188, allocations: 7.938 kB / 1.231 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.3188, allocations: 8 kB / 1.231 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3188, allocations: 7.984 kB / 1.231 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3188, allocations: 0 / 1.231 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000449/0.3193, allocations: 329.8 kB / 1.231 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.3194, allocations: 140.8 kB / 1.231 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.697e-05/0.3195, allocations: 11.94 kB / 1.231 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.3197, allocations: 23.97 kB / 1.231 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.3197, allocations: 23.97 kB / 1.231 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/0.3198, allocations: 15.98 kB / 1.231 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001923/0.3199, allocations: 240.4 kB / 1.232 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.32, allocations: 0 / 1.232 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002915/0.3203, allocations: 67.89 kB / 1.232 GB, free: 2.055 MB / 0.9825 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.001485/0.3217, allocations: 1.168 MB / 1.233 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003817/0.3221, allocations: 231.7 kB / 1.233 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3221, allocations: 0 / 1.233 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.3223, allocations: 127.8 kB / 1.233 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.3226, allocations: 40.41 kB / 1.233 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002754/0.3254, allocations: 2.53 MB / 1.236 GB, free: 14 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.3257, allocations: 0.7619 MB / 1.236 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003099/0.326, allocations: 146.8 kB / 1.237 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.3262, allocations: 103.3 kB / 1.237 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of SimCode: time 2.6e-07/0.3262, allocations: 3.938 kB / 1.237 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02263/0.3488, allocations: 6.024 MB / 1.243 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.483/7.832, allocations: 14.8 kB / 1.243 GB, free: 7.082 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches