Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_9_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.007376/0.007376, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001169/0.001169, allocations: 197.5 kB / 16.68 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.265/2.265, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 63.64 kB / 0.9504 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2413, allocations: 140.4 MB / 1.087 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003086/0.2444, allocations: 1.878 MB / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002143/0.2466, allocations: 1.581 MB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.005e-05/0.2467, allocations: 3.938 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002048/0.2469, allocations: 23.8 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003115/0.2472, allocations: 87.58 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004431/0.2477, allocations: 167.8 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003058/0.248, allocations: 289.4 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.2481, allocations: 35.69 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.2483, allocations: 95.75 kB / 1.092 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.2485, allocations: 111.7 kB / 1.092 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.014e-05/0.2486, allocations: 20 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001891/0.2488, allocations: 87.89 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.2489, allocations: 83.81 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.2491, allocations: 127.2 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004514/0.2495, allocations: 327.8 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2495, allocations: 0 / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2495, allocations: 0 / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.2496, allocations: 0 / 1.092 GB, free: 13.09 MB / 0.8575 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.0008688/0.2504, allocations: 0.5595 MB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.2505, allocations: 8.031 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.171e-05/0.2506, allocations: 54.73 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.2507, allocations: 36.5 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.251, allocations: 278.7 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.2511, allocations: 12.38 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.191e-05/0.2511, allocations: 23.94 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000375/0.2515, allocations: 232.9 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2515, allocations: 0 / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/0.2515, allocations: 8 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.2516, allocations: 8 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008405/0.2524, allocations: 0.749 MB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009906/0.2534, allocations: 0.6408 MB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004601/0.2539, allocations: 310.5 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.254, allocations: 117.4 kB / 1.095 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.767e-05/0.2541, allocations: 20.25 kB / 1.095 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003305/0.2544, allocations: 175.6 kB / 1.095 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=35): time 1.573e-06/0.2545, allocations: 0 / 1.095 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of matching and sorting (n=35): time 0.0006229/0.2551, allocations: 378.1 kB / 1.096 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.068e-05/0.2552, allocations: 132.5 kB / 1.096 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.2554, allocations: 313 kB / 1.096 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.2555, allocations: 41.62 kB / 1.096 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.368e-05/0.2556, allocations: 132.6 kB / 1.096 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.473e-05/0.2557, allocations: 110.4 kB / 1.096 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.899e-05/0.2558, allocations: 65.69 kB / 1.097 GB, free: 8.488 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.2559, allocations: 338.8 kB / 1.097 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.256, allocations: 83.95 kB / 1.097 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.2562, allocations: 128.3 kB / 1.097 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/0.2565, allocations: 220.6 kB / 1.097 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.2565, allocations: 0 / 1.097 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004118/0.2569, allocations: 281.5 kB / 1.098 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.257, allocations: 7.938 kB / 1.098 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.257, allocations: 3.938 kB / 1.098 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.257, allocations: 4 kB / 1.098 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.2572, allocations: 63.91 kB / 1.098 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.2572, allocations: 0 / 1.098 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.2574, allocations: 23.83 kB / 1.098 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.2574, allocations: 23.98 kB / 1.098 GB, free: 7.305 MB / 0.8575 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.0001517/0.2576, allocations: 165.7 kB / 1.098 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.48e-05/0.2577, allocations: 31.56 kB / 1.098 GB, free: 7.102 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006154/0.2583, allocations: 384.7 kB / 1.098 GB, free: 6.715 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.2583, allocations: 4 kB / 1.098 GB, free: 6.711 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2583, allocations: 0 / 1.098 GB, free: 6.711 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.2583, allocations: 7.984 kB / 1.098 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.2586, allocations: 337.3 kB / 1.099 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.2586, allocations: 4 kB / 1.099 GB, free: 6.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.2588, allocations: 55.91 kB / 1.099 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.2588, allocations: 7.938 kB / 1.099 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/0.2589, allocations: 19.98 kB / 1.099 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2589, allocations: 0 / 1.099 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2589, allocations: 0 / 1.099 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004557/0.2593, allocations: 330 kB / 1.099 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.2595, allocations: 140.6 kB / 1.099 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.228e-05/0.2595, allocations: 15.94 kB / 1.099 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.2597, allocations: 23.97 kB / 1.099 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.724e-05/0.2598, allocations: 27.97 kB / 1.099 GB, free: 5.672 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.2598, allocations: 8 kB / 1.099 GB, free: 5.664 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001971/0.26, allocations: 240.4 kB / 1.099 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.26, allocations: 0 / 1.099 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002945/0.2603, allocations: 63.98 kB / 1.099 GB, free: 5.363 MB / 0.8575 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.001465/0.2618, allocations: 1.174 MB / 1.101 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003812/0.2622, allocations: 232.1 kB / 1.101 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2622, allocations: 0 / 1.101 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001847/0.2624, allocations: 131.8 kB / 1.101 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.2627, allocations: 40.8 kB / 1.101 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002856/0.2655, allocations: 2.515 MB / 1.103 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.2658, allocations: 0.7658 MB / 1.104 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003104/0.2661, allocations: 147 kB / 1.104 GB, free: 400 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.2663, allocations: 99.38 kB / 1.104 GB, free: 300 kB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/0.2663, allocations: 0 / 1.104 GB, free: 300 kB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.2897, allocations: 6.029 MB / 1.11 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.681/7.97, allocations: 13.8 kB / 1.11 GB, free: 10.34 MB / 0.8731 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches