Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7154/0.7154, allocations: 128.7 MB / 143.7 MB, free: 2.156 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001061/0.00106, allocations: 198.9 kB / 173.8 MB, free: 5.992 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.59/1.59, allocations: 205.4 MB / 409 MB, free: 10.48 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 86.58 kB / 486.5 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003454, allocations: 12.97 kB / 0.5604 GB, free: 97.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1543, allocations: 76.77 MB / 0.6354 GB, free: 30.42 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1339/0.2882, allocations: 103.4 MB / 0.7364 GB, free: 6.883 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.2885, allocations: 75.95 kB / 0.7364 GB, free: 6.809 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.003956/0.2924, allocations: 1.379 MB / 0.7378 GB, free: 5.422 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2925, allocations: 4 kB / 0.7378 GB, free: 5.418 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.2925, allocations: 4 kB / 0.7378 GB, free: 5.414 MB / 0.5105 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.0004499/0.2929, allocations: 359.2 kB / 0.7381 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.293, allocations: 8.031 kB / 0.7382 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.698e-05/0.2931, allocations: 42.48 kB / 0.7382 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.081e-05/0.2931, allocations: 7.953 kB / 0.7382 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.2932, allocations: 170.9 kB / 0.7384 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.2933, allocations: 4 kB / 0.7384 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.2933, allocations: 11.98 kB / 0.7384 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.2934, allocations: 57.62 kB / 0.7384 GB, free: 4.664 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.2934, allocations: 0 / 0.7384 GB, free: 4.664 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.2935, allocations: 0 / 0.7384 GB, free: 4.664 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.2935, allocations: 0 / 0.7384 GB, free: 4.664 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.458e-05/0.2935, allocations: 31.94 kB / 0.7385 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004853/0.294, allocations: 300.9 kB / 0.7388 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.2942, allocations: 58.53 kB / 0.7388 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.2942, allocations: 0 / 0.7388 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.2944, allocations: 75.53 kB / 0.7389 GB, free: 4.137 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.2944, allocations: 3.938 kB / 0.7389 GB, free: 4.133 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0002436/0.2946, allocations: 97.58 kB / 0.739 GB, free: 4.031 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.2947, allocations: 57.62 kB / 0.739 GB, free: 3.965 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.429e-05/0.2948, allocations: 101 kB / 0.7391 GB, free: 3.859 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.2948, allocations: 29.7 kB / 0.7392 GB, free: 3.824 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.2948, allocations: 88.05 kB / 0.7392 GB, free: 3.734 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.2949, allocations: 15.8 kB / 0.7393 GB, free: 3.719 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.525e-06/0.2949, allocations: 4 kB / 0.7393 GB, free: 3.715 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.295, allocations: 327.2 kB / 0.7396 GB, free: 3.387 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.583e-05/0.2951, allocations: 15.98 kB / 0.7396 GB, free: 3.371 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.953e-05/0.2951, allocations: 47.36 kB / 0.7396 GB, free: 3.312 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.312e-05/0.2952, allocations: 20 kB / 0.7397 GB, free: 3.293 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2952, allocations: 3.938 kB / 0.7397 GB, free: 3.289 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001396/0.2954, allocations: 105.5 kB / 0.7398 GB, free: 3.18 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.2954, allocations: 8 kB / 0.7398 GB, free: 3.172 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2954, allocations: 4.234 kB / 0.7398 GB, free: 3.168 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.2954, allocations: 0 / 0.7398 GB, free: 3.168 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.622e-05/0.2955, allocations: 8 kB / 0.7398 GB, free: 3.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.2955, allocations: 4 kB / 0.7398 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.524e-05/0.2956, allocations: 11.92 kB / 0.7398 GB, free: 3.145 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.2956, allocations: 8 kB / 0.7398 GB, free: 3.137 MB / 0.5105 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 8.902e-05/0.2957, allocations: 125.8 kB / 0.7399 GB, free: 3.004 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/0.2957, allocations: 7.906 kB / 0.7399 GB, free: 2.996 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.917e-05/0.2957, allocations: 7.969 kB / 0.7399 GB, free: 2.988 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.2957, allocations: 11.94 kB / 0.7399 GB, free: 2.977 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2957, allocations: 0 / 0.7399 GB, free: 2.977 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2957, allocations: 0 / 0.7399 GB, free: 2.977 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003829/0.2961, allocations: 354.5 kB / 0.7403 GB, free: 2.574 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2961, allocations: 4 kB / 0.7403 GB, free: 2.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.478e-05/0.2962, allocations: 4 kB / 0.7403 GB, free: 2.566 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.2962, allocations: 3.953 kB / 0.7403 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.2962, allocations: 0 / 0.7403 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2962, allocations: 0 / 0.7403 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2962, allocations: 0 / 0.7403 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.2964, allocations: 183.4 kB / 0.7405 GB, free: 2.367 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.312e-05/0.2964, allocations: 81.11 kB / 0.7405 GB, free: 2.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.2965, allocations: 15.94 kB / 0.7406 GB, free: 2.254 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.139e-05/0.2965, allocations: 4 kB / 0.7406 GB, free: 2.25 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.2966, allocations: 11.92 kB / 0.7406 GB, free: 2.238 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.2966, allocations: 4 kB / 0.7406 GB, free: 2.234 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.893e-05/0.2967, allocations: 91.39 kB / 0.7407 GB, free: 2.145 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2967, allocations: 0 / 0.7407 GB, free: 2.145 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002094/0.2969, allocations: 15.94 kB / 0.7407 GB, free: 2.129 MB / 0.5105 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.0004539/0.2974, allocations: 0.72 MB / 0.7414 GB, free: 1.383 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001309/0.2975, allocations: 51.92 kB / 0.7414 GB, free: 1.332 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2975, allocations: 0 / 0.7414 GB, free: 1.332 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.24e-05/0.2976, allocations: 27.92 kB / 0.7415 GB, free: 1.305 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.2978, allocations: 10.39 kB / 0.7415 GB, free: 1.297 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009173/0.2987, allocations: 0.9208 MB / 0.7424 GB, free: 316 kB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2637/0.5624, allocations: 0.6894 MB / 0.743 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.557e-05/0.5625, allocations: 3.156 kB / 0.743 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.037e-05/0.5626, allocations: 16.86 kB / 0.7431 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of SimCode: time 1.633e-06/0.5626, allocations: 3.844 kB / 0.7431 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.012/0.5746, allocations: 1.487 MB / 0.7445 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000137/0.5748, allocations: 195.3 kB / 0.7447 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.415/1.99, allocations: 0 / 0.7447 GB, free: 108.6 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)