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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.005622/0.005622, allocations: 98.53 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.001323/0.001323, allocations: 199.9 kB / 16.68 MB, free: 5.973 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.755/2.755, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 67.89 kB / 1.054 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3024, allocations: 157.4 MB / 1.207 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003424/0.3059, allocations: 1.865 MB / 1.209 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002324/0.3083, allocations: 1.581 MB / 1.211 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.3084, allocations: 0 / 1.211 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.3087, allocations: 27.78 kB / 1.211 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003398/0.309, allocations: 87.53 kB / 1.211 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000485/0.3095, allocations: 171.3 kB / 1.211 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003398/0.3099, allocations: 285.4 kB / 1.211 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.31, allocations: 37.3 kB / 1.211 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.3102, allocations: 99.75 kB / 1.211 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.3104, allocations: 111.6 kB / 1.211 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.95e-05/0.3105, allocations: 20 kB / 1.211 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000216/0.3107, allocations: 83.95 kB / 1.212 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.3108, allocations: 87.8 kB / 1.212 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.311, allocations: 119.3 kB / 1.212 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004366/0.3114, allocations: 331 kB / 1.212 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3114, allocations: 0 / 1.212 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.306e-06/0.3114, allocations: 0 / 1.212 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.3114, allocations: 3.938 kB / 1.212 GB, free: 5.188 MB / 0.9669 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.0008684/0.3123, allocations: 0.5578 MB / 1.213 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.3124, allocations: 12.62 kB / 1.213 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.231e-05/0.3124, allocations: 54.67 kB / 1.213 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.3126, allocations: 36.55 kB / 1.213 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003342/0.313, allocations: 270.8 kB / 1.213 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.313, allocations: 12.38 kB / 1.213 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.313, allocations: 23.94 kB / 1.213 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004037/0.3134, allocations: 240.9 kB / 1.213 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3135, allocations: 0 / 1.213 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.3135, allocations: 12 kB / 1.213 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.3135, allocations: 4 kB / 1.213 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008914/0.3144, allocations: 0.749 MB / 1.214 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.3155, allocations: 0.6369 MB / 1.215 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004848/0.316, allocations: 302 kB / 1.215 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.3162, allocations: 113.4 kB / 1.215 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.222e-05/0.3163, allocations: 24.23 kB / 1.215 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003715/0.3166, allocations: 183.8 kB / 1.215 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=35): time 1.623e-06/0.3166, allocations: 0 / 1.215 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of matching and sorting (n=35): time 0.0006522/0.3173, allocations: 376.9 kB / 1.216 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.676e-05/0.3174, allocations: 140.5 kB / 1.216 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/0.3177, allocations: 305 kB / 1.216 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.3177, allocations: 33.7 kB / 1.216 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.861e-05/0.3178, allocations: 136.6 kB / 1.216 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.174e-05/0.3179, allocations: 118.2 kB / 1.216 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.318, allocations: 65.69 kB / 1.216 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3182, allocations: 338.8 kB / 1.217 GB, free: 240 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.3183, allocations: 87.89 kB / 1.217 GB, free: 152 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.3185, allocations: 124.5 kB / 1.217 GB, free: 16 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.3189, allocations: 213.1 kB / 1.217 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3189, allocations: 0 / 1.217 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004596/0.3193, allocations: 281 kB / 1.217 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.3194, allocations: 7.938 kB / 1.217 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.3194, allocations: 4 kB / 1.217 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.3194, allocations: 3.938 kB / 1.217 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/0.3196, allocations: 63.97 kB / 1.217 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.3197, allocations: 0 / 1.217 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.3198, allocations: 33.42 kB / 1.217 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.3199, allocations: 19.88 kB / 1.217 GB, free: 15.39 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.0001749/0.32, allocations: 157.8 kB / 1.218 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.014e-05/0.3201, allocations: 31.64 kB / 1.218 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006743/0.3208, allocations: 388.5 kB / 1.218 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.3208, allocations: 4 kB / 1.218 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.3208, allocations: 0 / 1.218 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3208, allocations: 48 / 1.218 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003373/0.3212, allocations: 353.2 kB / 1.218 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3212, allocations: 8 kB / 1.218 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.3213, allocations: 55.91 kB / 1.218 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.3214, allocations: 7.938 kB / 1.218 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.3214, allocations: 8 kB / 1.218 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3214, allocations: 0 / 1.218 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3214, allocations: 0 / 1.218 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004789/0.3219, allocations: 330.2 kB / 1.219 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.322, allocations: 136.7 kB / 1.219 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.256e-05/0.3221, allocations: 23.88 kB / 1.219 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.3223, allocations: 23.97 kB / 1.219 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/0.3224, allocations: 19.97 kB / 1.219 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.973e-05/0.3224, allocations: 15.98 kB / 1.219 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001998/0.3226, allocations: 240.4 kB / 1.219 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3226, allocations: 0 / 1.219 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003008/0.3229, allocations: 64 kB / 1.219 GB, free: 13.46 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.001609/0.3245, allocations: 1.169 MB / 1.22 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004028/0.3249, allocations: 231.7 kB / 1.221 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.325, allocations: 0 / 1.221 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.3252, allocations: 132.7 kB / 1.221 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.3255, allocations: 46.8 kB / 1.221 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003009/0.3285, allocations: 2.514 MB / 1.223 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.3288, allocations: 0.7619 MB / 1.224 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003364/0.3292, allocations: 146.9 kB / 1.224 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.3293, allocations: 95.39 kB / 1.224 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/0.3294, allocations: 4 kB / 1.224 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02718/0.3565, allocations: 6.117 MB / 1.23 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.943/8.3, allocations: 4.609 kB / 1.23 GB, free: 2.422 MB / 0.9825 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 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.mat","/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