Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",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.515/1.515, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.00116/0.00116, allocations: 189.2 kB / 326.5 MB, free: 2.242 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.266/2.266, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.001007/0.001007, allocations: 86.33 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003631/0.0003631, allocations: 11.5 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2344, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001866/0.2363, allocations: 1.389 MB / 0.9015 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005716/0.2369, allocations: 385.2 kB / 0.9019 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.506e-05/0.237, allocations: 11.94 kB / 0.9019 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.168e-05/0.2371, allocations: 7.922 kB / 0.9019 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.2372, allocations: 35.86 kB / 0.9019 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.2375, allocations: 71.91 kB / 0.902 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.2377, allocations: 155.7 kB / 0.9022 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.2379, allocations: 59.42 kB / 0.9022 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.315e-05/0.238, allocations: 71.77 kB / 0.9023 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.2381, allocations: 79.66 kB / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.2381, allocations: 8 kB / 0.9024 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.407e-05/0.2381, allocations: 8 kB / 0.9024 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.321e-05/0.2382, allocations: 51.81 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.102e-05/0.2383, allocations: 65.62 kB / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.2384, allocations: 155.9 kB / 0.9026 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2384, allocations: 0 / 0.9026 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.315e-06/0.2384, allocations: 0 / 0.9026 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.2384, allocations: 0 / 0.9026 GB, free: 61.28 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007139/0.2392, allocations: 485.6 kB / 0.9031 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.2392, allocations: 8.031 kB / 0.9031 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.918e-05/0.2393, allocations: 50.55 kB / 0.9032 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.601e-05/0.2393, allocations: 23.8 kB / 0.9032 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/0.2397, allocations: 280.3 kB / 0.9034 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.2397, allocations: 24.25 kB / 0.9035 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.2398, allocations: 24 kB / 0.9035 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002776/0.2401, allocations: 172.8 kB / 0.9037 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.2401, allocations: 0 / 0.9037 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.2401, allocations: 15.97 kB / 0.9037 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.2401, allocations: 4 kB / 0.9037 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.2403, allocations: 120.2 kB / 0.9038 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007838/0.2411, allocations: 0.5234 MB / 0.9043 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.2414, allocations: 209.5 kB / 0.9045 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.2414, allocations: 4 kB / 0.9045 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003558/0.2418, allocations: 258.1 kB / 0.9047 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=39): time 2.305e-06/0.2418, allocations: 4 kB / 0.9048 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39): time 0.0005746/0.2424, allocations: 426.1 kB / 0.9052 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.2424, allocations: 63.34 kB / 0.9052 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.487e-05/0.2425, allocations: 160.3 kB / 0.9054 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.2425, allocations: 45.69 kB / 0.9054 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/0.2426, allocations: 109 kB / 0.9055 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.384e-05/0.2427, allocations: 98.78 kB / 0.9056 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.317e-05/0.2427, allocations: 8 kB / 0.9056 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.797e-05/0.2427, allocations: 342.8 kB / 0.9059 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.2429, allocations: 85.09 kB / 0.906 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.243, allocations: 150.3 kB / 0.9062 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.2432, allocations: 92.75 kB / 0.9063 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2432, allocations: 0 / 0.9063 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003662/0.2436, allocations: 331.8 kB / 0.9066 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.2436, allocations: 4 kB / 0.9066 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2436, allocations: 0 / 0.9066 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.2436, allocations: 4 kB / 0.9066 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.2438, allocations: 43.86 kB / 0.9066 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.2438, allocations: 4 kB / 0.9066 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.2439, allocations: 39.95 kB / 0.9067 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.244, allocations: 19.95 kB / 0.9067 GB, free: 56.89 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 54 ($PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,$PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.pre.u,pre.u,$PRE.booPul.pulseStart,booPul.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.resetTimer.reset_internal,resetTimer.reset_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 59 * 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 0.0001094/0.2441, allocations: 166.9 kB / 0.9068 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.2441, allocations: 23.7 kB / 0.9069 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.551e-05/0.2442, allocations: 25.97 kB / 0.9069 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2442, allocations: 4 kB / 0.9069 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2442, allocations: 0 / 0.9069 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.2442, allocations: 4 kB / 0.9069 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007708/0.245, allocations: 0.7404 MB / 0.9076 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.245, allocations: 0 / 0.9076 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.614e-05/0.2451, allocations: 15.92 kB / 0.9076 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.2451, allocations: 4 kB / 0.9076 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.2451, allocations: 11.98 kB / 0.9077 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.2451, allocations: 4 kB / 0.9077 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2451, allocations: 3.938 kB / 0.9077 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003867/0.2455, allocations: 435.1 kB / 0.9081 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.973e-05/0.2455, allocations: 92.86 kB / 0.9082 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/0.2456, allocations: 15.98 kB / 0.9082 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.2458, allocations: 23.98 kB / 0.9082 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.597e-05/0.2458, allocations: 43.91 kB / 0.9082 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.2459, allocations: 19.98 kB / 0.9083 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.263e-05/0.2459, allocations: 103.2 kB / 0.9084 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2459, allocations: 3.938 kB / 0.9084 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002903/0.2462, allocations: 75.89 kB / 0.9084 GB, free: 55 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: 34 (booPul2.y,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer.reset_internal,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer1.reset_internal,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer2.reset_internal,accuTimer3.entryTime,accuTimer3.yAcc,accuTimer3.reset_internal,booPul1.pulseStart,pre.u,booPul.pulseStart,booPul2.pulseStart) * Number of discrete states: 10 (pre.u,accuTimer2.reset_internal,accuTimer1.reset_internal,accuTimer3.reset_internal,accuTimer.reset_internal,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0006051/0.2468, allocations: 0.9964 MB / 0.9094 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003449/0.2472, allocations: 262.3 kB / 0.9097 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2472, allocations: 8 kB / 0.9097 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.2474, allocations: 151.8 kB / 0.9098 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.2476, allocations: 41.5 kB / 0.9099 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.2493, allocations: 1.78 MB / 0.9116 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/0.2495, allocations: 0.7455 MB / 0.9123 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001064/0.2496, allocations: 34.95 kB / 0.9124 GB, free: 50.87 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.2497, allocations: 63.42 kB / 0.9124 GB, free: 50.81 MB / 0.6042 GB Notification: Performance of SimCode: time 3.2e-07/0.2497, allocations: 0 / 0.9124 GB, free: 50.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01355/0.2632, allocations: 4.064 MB / 0.9164 GB, free: 46.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001415/0.2634, allocations: 190.8 kB / 0.9166 GB, free: 46.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.695/1.958, allocations: 4 kB / 0.9166 GB, free: 46.66 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)