Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 109.4 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.799/2.799, allocations: 443.5 MB / 0.7287 GB, free: 13.19 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_10_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_10_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 68.03 kB / 1.056 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7986/0.8006, allocations: 160.7 MB / 1.213 GB, free: 4.012 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.00432/0.8049, allocations: 1.495 MB / 1.214 GB, free: 2.836 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.8066, allocations: 0.701 MB / 1.215 GB, free: 2.285 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.594e-05/0.8067, allocations: 0 / 1.215 GB, free: 2.285 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.8068, allocations: 14.03 kB / 1.215 GB, free: 2.273 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.48e-05/0.8069, allocations: 14.23 kB / 1.215 GB, free: 2.262 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.8082, allocations: 348.6 kB / 1.215 GB, free: 2.039 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002819/0.8085, allocations: 174.8 kB / 1.216 GB, free: 1.941 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.932e-05/0.8086, allocations: 7.141 kB / 1.216 GB, free: 1.938 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.827e-05/0.8087, allocations: 61.94 kB / 1.216 GB, free: 1.91 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.8088, allocations: 61.02 kB / 1.216 GB, free: 1.867 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.315e-05/0.8088, allocations: 11.69 kB / 1.216 GB, free: 1.867 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000423/0.8092, allocations: 248.1 kB / 1.216 GB, free: 1.738 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.858e-05/0.8093, allocations: 41.45 kB / 1.216 GB, free: 1.707 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.295e-05/0.8094, allocations: 56.47 kB / 1.216 GB, free: 1.668 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004674/0.8099, allocations: 309.1 kB / 1.216 GB, free: 1.477 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.8099, allocations: 0 / 1.216 GB, free: 1.477 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8099, allocations: 0 / 1.216 GB, free: 1.477 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.8099, allocations: 0.9688 kB / 1.216 GB, free: 1.477 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007954/0.8107, allocations: 492.1 kB / 1.217 GB, free: 1.008 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.8107, allocations: 10.62 kB / 1.217 GB, free: 1.008 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.581e-05/0.8108, allocations: 40.77 kB / 1.217 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/0.8109, allocations: 12.36 kB / 1.217 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.8112, allocations: 218 kB / 1.217 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.8112, allocations: 4.906 kB / 1.217 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.781e-05/0.8112, allocations: 13.25 kB / 1.217 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.8115, allocations: 99.45 kB / 1.217 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.8115, allocations: 7.938 kB / 1.217 GB, free: 0.625 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.8115, allocations: 1.25 kB / 1.217 GB, free: 0.625 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.8115, allocations: 1.125 kB / 1.217 GB, free: 0.625 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.8116, allocations: 53.53 kB / 1.217 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.812, allocations: 239.4 kB / 1.217 GB, free: 340 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.8122, allocations: 104.2 kB / 1.218 GB, free: 240 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.8123, allocations: 67.19 kB / 1.218 GB, free: 192 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.8123, allocations: 1.219 kB / 1.218 GB, free: 192 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000322/0.8126, allocations: 147.8 kB / 1.218 GB, free: 60 kB / 0.92 GB Notification: Performance of pre-optimization done (n=21): time 1.342e-06/0.8126, allocations: 0 / 1.218 GB, free: 60 kB / 0.92 GB Notification: Performance of matching and sorting (n=21): time 0.0004782/0.8131, allocations: 209 kB / 1.218 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.8132, allocations: 114.3 kB / 1.218 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.8134, allocations: 145.2 kB / 1.218 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.454e-05/0.8134, allocations: 34.92 kB / 1.218 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.552e-05/0.8135, allocations: 101 kB / 1.218 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.989e-05/0.8136, allocations: 63.38 kB / 1.218 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.657e-05/0.8137, allocations: 65.45 kB / 1.218 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.8138, allocations: 329.9 kB / 1.219 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.8139, allocations: 53.92 kB / 1.219 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/0.8142, allocations: 182.7 kB / 1.219 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.8144, allocations: 128.6 kB / 1.219 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.8144, allocations: 0 / 1.219 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003223/0.8147, allocations: 208.8 kB / 1.219 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.8147, allocations: 5.719 kB / 1.219 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.641e-05/0.8148, allocations: 3.875 kB / 1.219 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.8148, allocations: 6.266 kB / 1.219 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.8149, allocations: 13.38 kB / 1.219 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.8149, allocations: 6.062 kB / 1.219 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/0.8152, allocations: 46.34 kB / 1.219 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.8152, allocations: 10.2 kB / 1.219 GB, free: 14.73 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 (occSchDay2.tNext,$PRE.occSchDay2.tNext,occSchDay2.tNonOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tOcc,$PRE.occSchDay2.tOcc,occSchDay2.occupied,$PRE.occSchDay2.occupied,$whenCondition3,occSchDay1.tNext,$PRE.occSchDay1.tNext,occSchDay1.tNonOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tOcc,$PRE.occSchDay1.tOcc,occSchDay1.occupied,$PRE.occSchDay1.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001399/0.8153, allocations: 141.9 kB / 1.22 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.8153, allocations: 12.41 kB / 1.22 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.176e-05/0.8154, allocations: 12.12 kB / 1.22 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.8154, allocations: 2.562 kB / 1.22 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.8154, allocations: 5.219 kB / 1.22 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.8154, allocations: 3.984 kB / 1.22 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.8156, allocations: 209.8 kB / 1.22 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.8156, allocations: 1 kB / 1.22 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.396e-05/0.8156, allocations: 16.52 kB / 1.22 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.8156, allocations: 2.219 kB / 1.22 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.8157, allocations: 2.094 kB / 1.22 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.8157, allocations: 0.9375 kB / 1.22 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.8157, allocations: 5.031 kB / 1.22 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/0.816, allocations: 217.1 kB / 1.22 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.816, allocations: 89.48 kB / 1.22 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.816, allocations: 5.969 kB / 1.22 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.429e-05/0.8161, allocations: 7.125 kB / 1.22 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/0.8161, allocations: 16.5 kB / 1.22 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.8162, allocations: 5.25 kB / 1.22 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.917e-05/0.8162, allocations: 109.9 kB / 1.22 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8162, allocations: 0.9062 kB / 1.22 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004121/0.8166, allocations: 105.7 kB / 1.22 GB, free: 13.93 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0008423/0.8175, allocations: 0.8525 MB / 1.221 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003412/0.8178, allocations: 213.9 kB / 1.221 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.8178, allocations: 3.938 kB / 1.221 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.114e-05/0.8179, allocations: 45.42 kB / 1.221 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/0.8181, allocations: 10.94 kB / 1.221 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.8202, allocations: 1.827 MB / 1.223 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.8205, allocations: 0.7057 MB / 1.224 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.468e-05/0.8206, allocations: 16.16 kB / 1.224 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.112e-05/0.8207, allocations: 35.11 kB / 1.224 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of SimCode: time 8.32e-07/0.8207, allocations: 0 / 1.224 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02977/0.8504, allocations: 4.631 MB / 1.228 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.324/9.174, allocations: 7.641 kB / 1.228 GB, free: 7.895 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --stepSize=48.384 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.519997885916382]