Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 104.8 kB / 16.27 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001262, allocations: 191.8 kB / 17.2 MB, free: 5.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.242/1.242, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7116/0.7116, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.91 kB / 0.4912 GB, free: 7.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2925, allocations: 77.92 MB / 0.5673 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002361/0.2949, allocations: 1.453 MB / 0.5687 GB, free: 31.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005697/0.2954, allocations: 447.9 kB / 0.5691 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.068e-05/0.2955, allocations: 2.969 kB / 0.5691 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.843e-05/0.2955, allocations: 5.531 kB / 0.5691 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.02e-05/0.2956, allocations: 6.25 kB / 0.5691 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001337/0.2958, allocations: 21.72 kB / 0.5692 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.721e-05/0.2958, allocations: 50.72 kB / 0.5692 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.296, allocations: 16.19 kB / 0.5692 GB, free: 31.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.856e-05/0.296, allocations: 23.91 kB / 0.5692 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.326e-05/0.2961, allocations: 22.31 kB / 0.5693 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.2961, allocations: 4.594 kB / 0.5693 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.199e-05/0.2961, allocations: 9.375 kB / 0.5693 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.098e-05/0.2961, allocations: 9.047 kB / 0.5693 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.138e-05/0.2962, allocations: 30.02 kB / 0.5693 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.936e-05/0.2963, allocations: 46.56 kB / 0.5694 GB, free: 31.26 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2963, allocations: 1.188 kB / 0.5694 GB, free: 31.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2963, allocations: 0.5625 kB / 0.5694 GB, free: 31.26 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.2963, allocations: 0.9375 kB / 0.5694 GB, free: 31.26 MB / 446.1 MB 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.0004338/0.2967, allocations: 362.9 kB / 0.5697 GB, free: 30.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.2968, allocations: 9.75 kB / 0.5697 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.651e-05/0.2968, allocations: 33.86 kB / 0.5698 GB, free: 30.85 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.746e-05/0.2968, allocations: 7.969 kB / 0.5698 GB, free: 30.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.169e-05/0.2969, allocations: 165.3 kB / 0.5699 GB, free: 30.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.2969, allocations: 6.5 kB / 0.5699 GB, free: 30.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.297, allocations: 6.531 kB / 0.5699 GB, free: 30.65 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.288e-05/0.297, allocations: 61.52 kB / 0.57 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.2971, allocations: 2.031 kB / 0.57 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.2971, allocations: 1.344 kB / 0.57 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.2971, allocations: 5.531 kB / 0.57 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.489e-05/0.2971, allocations: 26.84 kB / 0.57 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.2975, allocations: 304.2 kB / 0.5703 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.886e-05/0.2976, allocations: 56.03 kB / 0.5704 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.812e-05/0.2977, allocations: 27.58 kB / 0.5704 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.2977, allocations: 1 kB / 0.5704 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001154/0.2978, allocations: 75.39 kB / 0.5705 GB, free: 30.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.2978, allocations: 1.562 kB / 0.5705 GB, free: 30.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0001856/0.298, allocations: 104.8 kB / 0.5706 GB, free: 30.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.315e-05/0.298, allocations: 53.5 kB / 0.5706 GB, free: 30.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.804e-05/0.2981, allocations: 108.9 kB / 0.5707 GB, free: 29.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.2981, allocations: 26.77 kB / 0.5707 GB, free: 29.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.449e-05/0.2981, allocations: 101 kB / 0.5708 GB, free: 29.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.2982, allocations: 16.09 kB / 0.5709 GB, free: 29.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.2982, allocations: 24.86 kB / 0.5709 GB, free: 29.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.866e-05/0.2982, allocations: 324.1 kB / 0.5712 GB, free: 29.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.432e-05/0.2983, allocations: 16.19 kB / 0.5712 GB, free: 29.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.143e-05/0.2983, allocations: 45.23 kB / 0.5713 GB, free: 29.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.039e-05/0.2984, allocations: 65.91 kB / 0.5713 GB, free: 29.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2984, allocations: 1.125 kB / 0.5713 GB, free: 29.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001215/0.2985, allocations: 102.1 kB / 0.5714 GB, free: 29.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.2986, allocations: 6.531 kB / 0.5714 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.2986, allocations: 1.188 kB / 0.5714 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.2986, allocations: 2.531 kB / 0.5714 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.64e-05/0.2986, allocations: 18.59 kB / 0.5714 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.2987, allocations: 5.141 kB / 0.5714 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.337e-05/0.2987, allocations: 11.61 kB / 0.5715 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-06/0.2987, allocations: 8.547 kB / 0.5715 GB, free: 29.3 MB / 446.1 MB 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 5.76e-05/0.2988, allocations: 121.2 kB / 0.5716 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/0.2988, allocations: 10.53 kB / 0.5716 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.373e-05/0.2988, allocations: 10.67 kB / 0.5716 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.2989, allocations: 1.188 kB / 0.5716 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2989, allocations: 2.109 kB / 0.5716 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2989, allocations: 1.375 kB / 0.5716 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000306/0.2992, allocations: 360.7 kB / 0.5719 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2992, allocations: 0 / 0.5719 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.587e-05/0.2992, allocations: 6.703 kB / 0.572 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2992, allocations: 0.8906 kB / 0.572 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.954e-06/0.2992, allocations: 1.094 kB / 0.572 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.2993, allocations: 6.188 kB / 0.572 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2993, allocations: 1.938 kB / 0.572 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.2994, allocations: 189.6 kB / 0.5721 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.897e-05/0.2994, allocations: 79.41 kB / 0.5722 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.2994, allocations: 2.062 kB / 0.5722 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.444e-05/0.2995, allocations: 9.766 kB / 0.5722 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.2996, allocations: 10.59 kB / 0.5722 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.2996, allocations: 3.562 kB / 0.5722 GB, free: 28.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.346e-05/0.2996, allocations: 80.8 kB / 0.5723 GB, free: 28.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.2996, allocations: 0.5312 kB / 0.5723 GB, free: 28.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002283/0.2998, allocations: 19.22 kB / 0.5723 GB, free: 28.49 MB / 446.1 MB 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.0002681/0.3001, allocations: 0.7127 MB / 0.573 GB, free: 27.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001218/0.3002, allocations: 56 kB / 0.5731 GB, free: 27.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3003, allocations: 1.125 kB / 0.5731 GB, free: 27.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.956e-05/0.3003, allocations: 30.92 kB / 0.5731 GB, free: 27.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.3006, allocations: 16.58 kB / 0.5731 GB, free: 27.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008232/0.3014, allocations: 1.361 MB / 0.5745 GB, free: 26.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.013e-05/0.3015, allocations: 0.686 MB / 0.5751 GB, free: 25.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.488e-05/0.3015, allocations: 6.281 kB / 0.5751 GB, free: 25.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.505e-05/0.3016, allocations: 16.89 kB / 0.5752 GB, free: 25.8 MB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3016, allocations: 0.625 kB / 0.5752 GB, free: 25.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01626/0.3179, allocations: 1.743 MB / 0.5769 GB, free: 25.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.819/7.137, allocations: 7.094 kB / 0.5769 GB, free: 25.46 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv --start-time -1 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)