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.451/1.451, allocations: 252 MB / 267.3 MB, free: 10.86 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.001221/0.001221, allocations: 171.2 kB / 327 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.112/2.112, allocations: 205.4 MB / 0.578 GB, free: 20.13 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.0009211/0.0009212, allocations: 86.38 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003821, allocations: 10 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2563, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002024/0.2584, allocations: 1.204 MB / 0.9021 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009029/0.2594, allocations: 487.4 kB / 0.9026 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.973e-05/0.2595, allocations: 0 / 0.9026 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.879e-05/0.2595, allocations: 3.938 kB / 0.9026 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.2597, allocations: 7.969 kB / 0.9026 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.2599, allocations: 15.94 kB / 0.9026 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.26, allocations: 43.91 kB / 0.9026 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.2602, allocations: 19.98 kB / 0.9026 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.98e-05/0.2603, allocations: 23.86 kB / 0.9027 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.569e-05/0.2604, allocations: 15.92 kB / 0.9027 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.361e-05/0.2605, allocations: 0 / 0.9027 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.916e-05/0.2605, allocations: 4 kB / 0.9027 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.821e-05/0.2605, allocations: 11.92 kB / 0.9027 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.793e-05/0.2606, allocations: 45.62 kB / 0.9027 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.2608, allocations: 47.8 kB / 0.9028 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.2608, allocations: 0 / 0.9028 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.868e-06/0.2608, allocations: 4 kB / 0.9028 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.2608, allocations: 0 / 0.9028 GB, free: 61.46 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.0007449/0.2616, allocations: 347.7 kB / 0.9031 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.09e-05/0.2616, allocations: 12.03 kB / 0.9031 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.528e-05/0.2617, allocations: 38.73 kB / 0.9032 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.274e-05/0.2617, allocations: 4.938 kB / 0.9032 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.2619, allocations: 168.3 kB / 0.9033 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.2619, allocations: 8.375 kB / 0.9033 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.262, allocations: 8.312 kB / 0.9033 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.2622, allocations: 65.8 kB / 0.9034 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.2622, allocations: 0 / 0.9034 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.2622, allocations: 0 / 0.9034 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.2622, allocations: 3.938 kB / 0.9034 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.493e-05/0.2623, allocations: 27.98 kB / 0.9034 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005881/0.2629, allocations: 308.6 kB / 0.9037 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.263, allocations: 54.56 kB / 0.9038 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.665e-05/0.2631, allocations: 28.94 kB / 0.9038 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.2631, allocations: 0 / 0.9038 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002012/0.2633, allocations: 79.41 kB / 0.9039 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.163e-06/0.2633, allocations: 0 / 0.9039 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0002547/0.2636, allocations: 101.5 kB / 0.904 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.2636, allocations: 55.41 kB / 0.904 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.541e-05/0.2637, allocations: 101.8 kB / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.2638, allocations: 33.7 kB / 0.9042 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.867e-05/0.2638, allocations: 84.05 kB / 0.9042 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.2638, allocations: 23.8 kB / 0.9043 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.2639, allocations: 4 kB / 0.9043 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.264, allocations: 322.8 kB / 0.9046 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.712e-05/0.264, allocations: 19.94 kB / 0.9046 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.45e-05/0.2641, allocations: 39.42 kB / 0.9046 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.004e-05/0.2642, allocations: 71.36 kB / 0.9047 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2642, allocations: 0 / 0.9047 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001379/0.2643, allocations: 105.5 kB / 0.9048 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.2643, allocations: 4 kB / 0.9048 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.2644, allocations: 0 / 0.9048 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.2644, allocations: 4 kB / 0.9048 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.708e-05/0.2645, allocations: 8 kB / 0.9048 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.2645, allocations: 0 / 0.9048 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.394e-05/0.2646, allocations: 15.92 kB / 0.9048 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.2646, allocations: 12.34 kB / 0.9049 GB, free: 59.09 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,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,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 9.723e-05/0.2647, allocations: 124.8 kB / 0.905 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.501e-05/0.2647, allocations: 3.906 kB / 0.905 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.92e-05/0.2648, allocations: 11.97 kB / 0.905 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2648, allocations: 3.938 kB / 0.905 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.2648, allocations: 0 / 0.905 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.2648, allocations: 4.266 kB / 0.905 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000425/0.2652, allocations: 358.5 kB / 0.9053 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.2653, allocations: 0 / 0.9053 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.038e-05/0.2653, allocations: 4.062 kB / 0.9053 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.802e-06/0.2653, allocations: 8 kB / 0.9053 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.2653, allocations: 3.984 kB / 0.9054 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.2653, allocations: 3.938 kB / 0.9054 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2653, allocations: 0 / 0.9054 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.2656, allocations: 187.4 kB / 0.9055 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-05/0.2656, allocations: 77.11 kB / 0.9056 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.2656, allocations: 4 kB / 0.9056 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.2658, allocations: 15.92 kB / 0.9056 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.85e-05/0.2658, allocations: 11.92 kB / 0.9056 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.2659, allocations: 4 kB / 0.9056 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.647e-05/0.2659, allocations: 87.22 kB / 0.9057 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2659, allocations: 0 / 0.9057 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002747/0.2662, allocations: 19.91 kB / 0.9057 GB, free: 58.08 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.0003951/0.2666, allocations: 0.7127 MB / 0.9064 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001561/0.2668, allocations: 51.86 kB / 0.9065 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2668, allocations: 0 / 0.9065 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.044e-05/0.2668, allocations: 31.94 kB / 0.9065 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.2672, allocations: 23.48 kB / 0.9065 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.2685, allocations: 1.377 MB / 0.9079 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.2686, allocations: 0.6848 MB / 0.9086 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.962e-05/0.2687, allocations: 7.984 kB / 0.9086 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.654e-05/0.2687, allocations: 15.44 kB / 0.9086 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of SimCode: time 3.61e-07/0.2688, allocations: 0 / 0.9086 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01305/0.2818, allocations: 1.485 MB / 0.91 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/0.2821, allocations: 235.2 kB / 0.9103 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.954/2.237, allocations: 0 / 0.9103 GB, free: 53.46 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)