Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.LimitMin,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",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.005134/0.005134, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001196/0.001196, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.599/2.599, allocations: 461.9 MB / 0.7348 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 71.88 kB / 1.054 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9151/0.9165, allocations: 157.4 MB / 1.207 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003896/0.9205, allocations: 1.639 MB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001918/0.9224, allocations: 1.16 MB / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.9226, allocations: 3.938 kB / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.9229, allocations: 27.84 kB / 1.21 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004768/0.9234, allocations: 71.62 kB / 1.21 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005693/0.924, allocations: 135.1 kB / 1.21 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004069/0.9244, allocations: 237.5 kB / 1.21 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.9246, allocations: 26.47 kB / 1.21 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.9247, allocations: 75.83 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002877/0.925, allocations: 91.77 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.577e-05/0.9251, allocations: 16 kB / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002716/0.9254, allocations: 79.95 kB / 1.211 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.9255, allocations: 79.75 kB / 1.211 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.9256, allocations: 103.3 kB / 1.211 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004775/0.9261, allocations: 279.1 kB / 1.211 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.9261, allocations: 0 / 1.211 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.499e-06/0.9261, allocations: 3.984 kB / 1.211 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.456e-05/0.9262, allocations: 4 kB / 1.211 GB, free: 9.469 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0009904/0.9272, allocations: 0.5267 MB / 1.212 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.9272, allocations: 8.031 kB / 1.212 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.702e-05/0.9273, allocations: 50.73 kB / 1.212 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.9274, allocations: 24.66 kB / 1.212 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000384/0.9278, allocations: 267.7 kB / 1.212 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.9278, allocations: 12.38 kB / 1.212 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.14e-05/0.9279, allocations: 16.36 kB / 1.212 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004191/0.9283, allocations: 226.2 kB / 1.212 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.9283, allocations: 0 / 1.212 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.9284, allocations: 8 kB / 1.212 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.9284, allocations: 4 kB / 1.212 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000953/0.9293, allocations: 0.7373 MB / 1.213 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008455/0.9302, allocations: 0.5669 MB / 1.214 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000502/0.9307, allocations: 308.1 kB / 1.214 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.9309, allocations: 101.4 kB / 1.214 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.643e-05/0.9309, allocations: 16.25 kB / 1.214 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003811/0.9313, allocations: 176.9 kB / 1.214 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=34): time 1.664e-06/0.9313, allocations: 3.938 kB / 1.214 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34): time 0.0007123/0.932, allocations: 373.1 kB / 1.214 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.9322, allocations: 136.5 kB / 1.215 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00031/0.9325, allocations: 304 kB / 1.215 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.9325, allocations: 29.7 kB / 1.215 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.9326, allocations: 116.8 kB / 1.215 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.9327, allocations: 122.2 kB / 1.215 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.9329, allocations: 65.69 kB / 1.215 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.933, allocations: 334.8 kB / 1.216 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.9332, allocations: 91.94 kB / 1.216 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.9334, allocations: 127.2 kB / 1.216 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/0.9337, allocations: 210.5 kB / 1.216 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.9337, allocations: 0 / 1.216 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004217/0.9341, allocations: 277 kB / 1.216 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.9342, allocations: 4 kB / 1.216 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.9342, allocations: 4 kB / 1.216 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.9342, allocations: 0 / 1.216 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.9344, allocations: 67.91 kB / 1.216 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.9345, allocations: 0 / 1.216 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.9346, allocations: 27.77 kB / 1.216 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.9346, allocations: 12 kB / 1.216 GB, free: 3.902 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 (35): * Single equations (assignments): 35 * 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.000157/0.9348, allocations: 161.7 kB / 1.216 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.398e-05/0.9349, allocations: 27.62 kB / 1.217 GB, free: 3.707 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006607/0.9355, allocations: 385.5 kB / 1.217 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.9356, allocations: 4 kB / 1.217 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.9356, allocations: 0 / 1.217 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.9356, allocations: 3.938 kB / 1.217 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003453/0.9359, allocations: 337.2 kB / 1.217 GB, free: 2.938 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.9359, allocations: 0 / 1.217 GB, free: 2.938 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.9361, allocations: 51.97 kB / 1.217 GB, free: 2.887 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.9361, allocations: 7.938 kB / 1.217 GB, free: 2.879 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.9362, allocations: 12 kB / 1.217 GB, free: 2.867 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.9362, allocations: 0 / 1.217 GB, free: 2.867 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.9362, allocations: 4 kB / 1.217 GB, free: 2.863 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004727/0.9367, allocations: 322 kB / 1.218 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.9368, allocations: 144.7 kB / 1.218 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.9e-05/0.9369, allocations: 8 kB / 1.218 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.937, allocations: 11.98 kB / 1.218 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.783e-05/0.9371, allocations: 31.91 kB / 1.218 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-05/0.9371, allocations: 11.98 kB / 1.218 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002029/0.9373, allocations: 225.8 kB / 1.218 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9373, allocations: 4 kB / 1.218 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000299/0.9377, allocations: 63.89 kB / 1.218 GB, free: 2.02 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 (34): * Single equations (assignments): 33 * 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.001632/0.9393, allocations: 1.15 MB / 1.219 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003866/0.9397, allocations: 232.2 kB / 1.219 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.9397, allocations: 3.984 kB / 1.219 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.9399, allocations: 127.8 kB / 1.22 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.9402, allocations: 46.06 kB / 1.22 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002858/0.943, allocations: 2.442 MB / 1.222 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.9434, allocations: 0.7581 MB / 1.223 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003102/0.9437, allocations: 146.9 kB / 1.223 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.9438, allocations: 91.39 kB / 1.223 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of SimCode: time 5.51e-07/0.9438, allocations: 0 / 1.223 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02331/0.9671, allocations: 5.556 MB / 1.228 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.696/8.663, allocations: 18.38 kB / 1.228 GB, free: 7.613 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches