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.008511/0.008511, allocations: 102 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.001754/0.001754, allocations: 194.9 kB / 16.68 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.497/2.497, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 71.89 kB / 1.054 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3549, allocations: 157.4 MB / 1.207 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.004417/0.3594, allocations: 1.875 MB / 1.209 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002911/0.3623, allocations: 1.581 MB / 1.211 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.3625, allocations: 4 kB / 1.211 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003093/0.3629, allocations: 23.8 kB / 1.211 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004232/0.3633, allocations: 83.53 kB / 1.211 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006281/0.364, allocations: 171.6 kB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004783/0.3644, allocations: 293.2 kB / 1.211 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.3646, allocations: 41.31 kB / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.3648, allocations: 91.77 kB / 1.211 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003204/0.3652, allocations: 115.7 kB / 1.211 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.616e-05/0.3653, allocations: 20 kB / 1.211 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002617/0.3655, allocations: 79.97 kB / 1.212 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.3657, allocations: 83.81 kB / 1.212 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001898/0.3659, allocations: 127.2 kB / 1.212 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005521/0.3664, allocations: 323 kB / 1.212 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3665, allocations: 8 kB / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3665, allocations: 0 / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.3665, allocations: 0 / 1.212 GB, free: 5.297 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.001119/0.3676, allocations: 0.5626 MB / 1.213 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.102e-05/0.3677, allocations: 8.625 kB / 1.213 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.704e-05/0.3678, allocations: 54.73 kB / 1.213 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002151/0.368, allocations: 32.56 kB / 1.213 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004025/0.3684, allocations: 270.8 kB / 1.213 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.3684, allocations: 12.38 kB / 1.213 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.369e-05/0.3685, allocations: 27.94 kB / 1.213 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004863/0.369, allocations: 236.9 kB / 1.213 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.369, allocations: 0 / 1.213 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.96e-05/0.369, allocations: 8 kB / 1.213 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.3691, allocations: 4 kB / 1.213 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009598/0.37, allocations: 0.749 MB / 1.214 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.3712, allocations: 0.6408 MB / 1.215 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005895/0.3718, allocations: 309.9 kB / 1.215 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.372, allocations: 113.4 kB / 1.215 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.858e-05/0.3721, allocations: 20.25 kB / 1.215 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004936/0.3726, allocations: 187.9 kB / 1.215 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=35): time 1.543e-06/0.3726, allocations: 0 / 1.215 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of matching and sorting (n=35): time 0.0007253/0.3733, allocations: 376.9 kB / 1.216 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.559e-05/0.3734, allocations: 136.5 kB / 1.216 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003661/0.3738, allocations: 305 kB / 1.216 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.3738, allocations: 37.7 kB / 1.216 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.374, allocations: 132.6 kB / 1.216 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.3741, allocations: 118.3 kB / 1.216 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.3742, allocations: 69.69 kB / 1.216 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3744, allocations: 338.8 kB / 1.217 GB, free: 348 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.3746, allocations: 79.95 kB / 1.217 GB, free: 268 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.3748, allocations: 128.5 kB / 1.217 GB, free: 128 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003591/0.3751, allocations: 218.4 kB / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.3752, allocations: 0 / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005039/0.3757, allocations: 285.2 kB / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3757, allocations: 7.938 kB / 1.217 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3757, allocations: 0 / 1.217 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/0.3757, allocations: 4 kB / 1.217 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/0.376, allocations: 67.84 kB / 1.217 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.376, allocations: 0 / 1.217 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.3762, allocations: 27.73 kB / 1.217 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.758e-05/0.3762, allocations: 15.98 kB / 1.217 GB, free: 15.5 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.0001926/0.3764, allocations: 161.8 kB / 1.218 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.92e-05/0.3765, allocations: 35.66 kB / 1.218 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007805/0.3773, allocations: 384.8 kB / 1.218 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.3773, allocations: 4 kB / 1.218 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.3773, allocations: 0 / 1.218 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.3773, allocations: 3.984 kB / 1.218 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004026/0.3777, allocations: 341.2 kB / 1.218 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.3778, allocations: 0 / 1.218 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.3779, allocations: 59.91 kB / 1.218 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.3779, allocations: 3.938 kB / 1.218 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/0.378, allocations: 15.98 kB / 1.218 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.378, allocations: 4 kB / 1.218 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.378, allocations: 0 / 1.218 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005166/0.3785, allocations: 333.6 kB / 1.219 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.3787, allocations: 140.7 kB / 1.219 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.735e-05/0.3788, allocations: 11.94 kB / 1.219 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.3789, allocations: 23.97 kB / 1.219 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.941e-05/0.379, allocations: 23.97 kB / 1.219 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.389e-05/0.3791, allocations: 12 kB / 1.219 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002391/0.3793, allocations: 240.4 kB / 1.219 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6.91e-07/0.3793, allocations: 0 / 1.219 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003499/0.3797, allocations: 71.98 kB / 1.219 GB, free: 13.57 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.001861/0.3815, allocations: 1.157 MB / 1.22 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004657/0.382, allocations: 231.7 kB / 1.221 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.3821, allocations: 4 kB / 1.221 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.3823, allocations: 131.8 kB / 1.221 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.3826, allocations: 44.61 kB / 1.221 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003383/0.386, allocations: 2.515 MB / 1.223 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/0.3864, allocations: 0.7735 MB / 1.224 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003847/0.3868, allocations: 146.9 kB / 1.224 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.387, allocations: 101 kB / 1.224 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.387, allocations: 0 / 1.224 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03159/0.4186, allocations: 6.109 MB / 1.23 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.52/7.939, allocations: 12.11 kB / 1.23 GB, free: 2.523 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