Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.237/1.237, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008085/0.0008085, allocations: 170.6 kB / 325.8 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.24/1.24, allocations: 205 MB / 0.576 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006379/0.0006379, allocations: 88.19 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002707/0.0002707, allocations: 8.219 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1366, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001194/0.1378, allocations: 1.216 MB / 0.8974 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005082/0.1383, allocations: 0.4884 MB / 0.8979 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.241e-05/0.1384, allocations: 0 / 0.8979 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.554e-05/0.1384, allocations: 3.938 kB / 0.8979 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.438e-05/0.1385, allocations: 0 / 0.8979 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000107/0.1386, allocations: 27.91 kB / 0.8979 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.285e-05/0.1387, allocations: 47.91 kB / 0.8979 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.024e-05/0.1387, allocations: 16 kB / 0.898 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.479e-05/0.1388, allocations: 19.92 kB / 0.898 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.525e-05/0.1388, allocations: 11.92 kB / 0.898 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.1389, allocations: 0 / 0.898 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.238e-06/0.1389, allocations: 4 kB / 0.898 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.718e-05/0.1389, allocations: 19.91 kB / 0.898 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.048e-05/0.1389, allocations: 19.86 kB / 0.898 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.848e-05/0.139, allocations: 39.88 kB / 0.8981 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.139, allocations: 0 / 0.8981 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.042e-06/0.139, allocations: 4 kB / 0.8981 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.139, allocations: 0 / 0.8981 GB, free: 66.16 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003268/0.1393, allocations: 359.4 kB / 0.8984 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.1394, allocations: 12.03 kB / 0.8984 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.298e-05/0.1394, allocations: 30.75 kB / 0.8984 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.183e-05/0.1394, allocations: 4.938 kB / 0.8985 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.207e-05/0.1395, allocations: 172.4 kB / 0.8986 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.1395, allocations: 12.31 kB / 0.8986 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.1395, allocations: 4.375 kB / 0.8986 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.017e-05/0.1396, allocations: 65.73 kB / 0.8987 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.1396, allocations: 0 / 0.8987 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.1396, allocations: 4 kB / 0.8987 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1397, allocations: 0 / 0.8987 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.511e-05/0.1397, allocations: 23.98 kB / 0.8987 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.14, allocations: 316.6 kB / 0.899 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.57e-05/0.1401, allocations: 54.56 kB / 0.8991 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.202e-05/0.1402, allocations: 24.94 kB / 0.8991 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.1402, allocations: 0 / 0.8991 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001125/0.1403, allocations: 75.42 kB / 0.8992 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.1403, allocations: 0 / 0.8992 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.000155/0.1405, allocations: 101.5 kB / 0.8993 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.1405, allocations: 55.41 kB / 0.8993 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.293e-05/0.1406, allocations: 105.8 kB / 0.8994 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.1406, allocations: 29.7 kB / 0.8995 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.202e-05/0.1406, allocations: 92.03 kB / 0.8995 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.492e-05/0.1406, allocations: 15.81 kB / 0.8996 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.07e-05/0.1406, allocations: 21.72 kB / 0.8996 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.157e-05/0.1407, allocations: 322.8 kB / 0.8999 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.733e-05/0.1407, allocations: 19.98 kB / 0.8999 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.242e-05/0.1407, allocations: 35.81 kB / 0.8999 GB, free: 64 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.809e-05/0.1408, allocations: 67.36 kB / 0.9 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1408, allocations: 7.938 kB / 0.9 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001009/0.1409, allocations: 109.7 kB / 0.9001 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.1409, allocations: 7.938 kB / 0.9001 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.1409, allocations: 0 / 0.9001 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.141, allocations: 4 kB / 0.9001 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.164e-05/0.141, allocations: 8 kB / 0.9001 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.141, allocations: 0 / 0.9001 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.802e-05/0.1411, allocations: 11.98 kB / 0.9001 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.1411, allocations: 11.97 kB / 0.9002 GB, free: 63.76 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 4.598e-05/0.1411, allocations: 125.7 kB / 0.9003 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-06/0.1412, allocations: 3.906 kB / 0.9003 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.195e-05/0.1412, allocations: 15.95 kB / 0.9003 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.1412, allocations: 0 / 0.9003 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.1412, allocations: 0 / 0.9003 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.1412, allocations: 0 / 0.9003 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.1415, allocations: 362.4 kB / 0.9006 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1415, allocations: 0 / 0.9006 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.131e-05/0.1415, allocations: 8.062 kB / 0.9006 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1415, allocations: 4 kB / 0.9007 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.1415, allocations: 0 / 0.9007 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1415, allocations: 3.938 kB / 0.9007 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1415, allocations: 0 / 0.9007 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.394e-05/0.1416, allocations: 187.4 kB / 0.9008 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.593e-05/0.1417, allocations: 81.11 kB / 0.9009 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.1417, allocations: 3.984 kB / 0.9009 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.477e-05/0.1417, allocations: 11.94 kB / 0.9009 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.1418, allocations: 7.984 kB / 0.9009 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.1418, allocations: 4 kB / 0.9009 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.039e-05/0.1418, allocations: 83.28 kB / 0.901 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1418, allocations: 0 / 0.901 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001937/0.142, allocations: 20.08 kB / 0.901 GB, free: 62.75 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.0002215/0.1423, allocations: 0.7216 MB / 0.9017 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.595e-05/0.1424, allocations: 47.92 kB / 0.9018 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1424, allocations: 0 / 0.9018 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.186e-05/0.1424, allocations: 31.98 kB / 0.9018 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.1427, allocations: 12 kB / 0.9018 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008039/0.1435, allocations: 1.363 MB / 0.9032 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.3e-05/0.1436, allocations: 0.6888 MB / 0.9038 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.312e-05/0.1436, allocations: 4 kB / 0.9038 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.1436, allocations: 23.42 kB / 0.9039 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of SimCode: time 2.81e-07/0.1436, allocations: 3.938 kB / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5262/0.6699, allocations: 1.491 MB / 0.9053 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001403/0.67, allocations: 231.9 kB / 0.9055 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/2.304, allocations: 0 / 0.9055 GB, free: 58.14 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)