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.382/1.382, allocations: 251.9 MB / 266.9 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.001041/0.001042, allocations: 182.5 kB / 326.5 MB, free: 2.215 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.896/1.896, allocations: 205.4 MB / 0.5775 GB, free: 20.19 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.001051/0.001051, allocations: 93.97 kB / 0.6821 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003254/0.0003254, allocations: 9.625 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2326, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1774/0.41, allocations: 132.5 MB / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/0.4103, allocations: 79.95 kB / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003792/0.4141, allocations: 1.375 MB / 1.031 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.993e-06/0.4141, allocations: 0 / 1.031 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.4141, allocations: 4 kB / 1.031 GB, free: 9.68 MB / 0.6823 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.0004174/0.4145, allocations: 363.2 kB / 1.031 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.4146, allocations: 8.031 kB / 1.031 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.198e-05/0.4147, allocations: 30.56 kB / 1.031 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.713e-05/0.4147, allocations: 4 kB / 1.031 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.4148, allocations: 179 kB / 1.032 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.4148, allocations: 0 / 1.032 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.4149, allocations: 8 kB / 1.032 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.415, allocations: 53.67 kB / 1.032 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.415, allocations: 0 / 1.032 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.415, allocations: 8 kB / 1.032 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.415, allocations: 0 / 1.032 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.859e-05/0.4151, allocations: 19.98 kB / 1.032 GB, free: 8.918 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004833/0.4156, allocations: 316.7 kB / 1.032 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.4157, allocations: 54.56 kB / 1.032 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.4157, allocations: 4.031 kB / 1.032 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.4159, allocations: 75.59 kB / 1.032 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 2.765e-06/0.4159, allocations: 7.984 kB / 1.032 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.0002256/0.4161, allocations: 105.4 kB / 1.032 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.4162, allocations: 55.41 kB / 1.032 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.062e-05/0.4162, allocations: 96.98 kB / 1.032 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.4163, allocations: 33.7 kB / 1.032 GB, free: 8.082 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.891e-05/0.4163, allocations: 80.14 kB / 1.032 GB, free: 8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.4164, allocations: 23.66 kB / 1.032 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.4164, allocations: 0 / 1.032 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.4165, allocations: 327.5 kB / 1.033 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.165e-05/0.4165, allocations: 15.94 kB / 1.033 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.371e-05/0.4166, allocations: 47.36 kB / 1.033 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.954e-05/0.4166, allocations: 20 kB / 1.033 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4166, allocations: 0 / 1.033 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001313/0.4168, allocations: 93.52 kB / 1.033 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.4168, allocations: 6.812 kB / 1.033 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.4168, allocations: 8.031 kB / 1.033 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.4168, allocations: 0 / 1.033 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.016e-05/0.4169, allocations: 19.92 kB / 1.033 GB, free: 7.426 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.4169, allocations: 7.953 kB / 1.033 GB, free: 7.418 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.333e-05/0.417, allocations: 4 kB / 1.033 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.417, allocations: 4 kB / 1.033 GB, free: 7.41 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.272e-05/0.4171, allocations: 117.8 kB / 1.033 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.385e-05/0.4171, allocations: 8 kB / 1.033 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.677e-05/0.4172, allocations: 7.969 kB / 1.033 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.4172, allocations: 0 / 1.033 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.4172, allocations: 0 / 1.033 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4172, allocations: 7.953 kB / 1.033 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003856/0.4176, allocations: 366.3 kB / 1.033 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4176, allocations: 0 / 1.033 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.743e-05/0.4176, allocations: 11.98 kB / 1.033 GB, free: 6.836 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.4176, allocations: 0 / 1.033 GB, free: 6.836 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.4177, allocations: 480 / 1.033 GB, free: 6.836 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.4177, allocations: 3.953 kB / 1.033 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4177, allocations: 0 / 1.033 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.4178, allocations: 183.4 kB / 1.034 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-05/0.4179, allocations: 88.95 kB / 1.034 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.4179, allocations: 0 / 1.034 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.848e-05/0.418, allocations: 16.05 kB / 1.034 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.418, allocations: 16.22 kB / 1.034 GB, free: 6.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.4181, allocations: 4 kB / 1.034 GB, free: 6.496 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.706e-05/0.4181, allocations: 87.2 kB / 1.034 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4181, allocations: 0 / 1.034 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002157/0.4183, allocations: 16 kB / 1.034 GB, free: 6.395 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004641/0.4188, allocations: 0.7104 MB / 1.035 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001265/0.4189, allocations: 55.91 kB / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4189, allocations: 0 / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.171e-05/0.419, allocations: 23.94 kB / 1.035 GB, free: 5.578 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/0.4192, allocations: 15.94 kB / 1.035 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009176/0.4201, allocations: 0.9209 MB / 1.036 GB, free: 4.574 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.4204, allocations: 0.6891 MB / 1.036 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.197e-05/0.4205, allocations: 7.984 kB / 1.036 GB, free: 3.852 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.4205, allocations: 15.44 kB / 1.036 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of SimCode: time 2.21e-07/0.4205, allocations: 0 / 1.036 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01215/0.4327, allocations: 1.474 MB / 1.038 GB, free: 2.535 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/0.4329, allocations: 205.2 kB / 1.038 GB, free: 2.289 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/2.048, allocations: 0 / 1.038 GB, free: 2.289 MB / 0.6823 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)