Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 186.6 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.71/1.71, allocations: 292.3 MB / 0.549 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 73.23 kB / 0.6718 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.236, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002363/0.2384, allocations: 0.7633 MB / 0.7844 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00169/0.2401, allocations: 1.254 MB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.328e-05/0.2402, allocations: 4 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.643e-05/0.2403, allocations: 3.938 kB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.466e-05/0.2404, allocations: 19.78 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007681/0.2411, allocations: 250.2 kB / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002885/0.2414, allocations: 267.5 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.2415, allocations: 16.22 kB / 0.7862 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.2417, allocations: 95.86 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.2418, allocations: 95.67 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.055e-05/0.2419, allocations: 24 kB / 0.7864 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.321e-05/0.242, allocations: 39.98 kB / 0.7864 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.089e-05/0.242, allocations: 31.95 kB / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.2421, allocations: 87.75 kB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002731/0.2424, allocations: 235.5 kB / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2424, allocations: 0 / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2424, allocations: 0 / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.2425, allocations: 0 / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000722/0.2432, allocations: 498.5 kB / 0.7872 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.2432, allocations: 16.03 kB / 0.7872 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.347e-05/0.2433, allocations: 38.73 kB / 0.7873 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.817e-05/0.2434, allocations: 20.84 kB / 0.7873 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005711/0.2439, allocations: 244.3 kB / 0.7875 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.244, allocations: 16.36 kB / 0.7875 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.527e-05/0.244, allocations: 24.36 kB / 0.7876 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.2443, allocations: 139.5 kB / 0.7877 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.2443, allocations: 4 kB / 0.7877 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.2443, allocations: 7.984 kB / 0.7877 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.2443, allocations: 3.938 kB / 0.7877 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.2445, allocations: 63.89 kB / 0.7878 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007871/0.2453, allocations: 0.5133 MB / 0.7883 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.2455, allocations: 165.2 kB / 0.7884 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.01e-05/0.2456, allocations: 57.7 kB / 0.7885 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.2457, allocations: 0 / 0.7885 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003998/0.2461, allocations: 204.9 kB / 0.7887 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.302e-06/0.2461, allocations: 0 / 0.7887 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22): time 0.000566/0.2466, allocations: 309.3 kB / 0.789 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/0.2467, allocations: 93.03 kB / 0.7891 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.2468, allocations: 132.8 kB / 0.7892 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/0.2469, allocations: 37.69 kB / 0.7892 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.29e-05/0.247, allocations: 104.8 kB / 0.7893 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.353e-05/0.247, allocations: 51.34 kB / 0.7894 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.2472, allocations: 77.67 kB / 0.7894 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.2473, allocations: 322.8 kB / 0.7897 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.2475, allocations: 96.17 kB / 0.7898 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.2477, allocations: 152.2 kB / 0.79 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/0.248, allocations: 243.4 kB / 0.7902 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.248, allocations: 0 / 0.7902 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005468/0.2485, allocations: 367.8 kB / 0.7906 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.19e-05/0.2486, allocations: 67.39 kB / 0.7906 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.2486, allocations: 0 / 0.7906 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.2486, allocations: 4 kB / 0.7906 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.2488, allocations: 27.86 kB / 0.7907 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.567e-06/0.2488, allocations: 7.938 kB / 0.7907 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003502/0.2491, allocations: 67.88 kB / 0.7907 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/0.2492, allocations: 19.92 kB / 0.7908 GB, free: 5.602 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001393/0.2493, allocations: 148 kB / 0.7909 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.2494, allocations: 11.91 kB / 0.7909 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.338e-05/0.2494, allocations: 16.5 kB / 0.7909 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.2494, allocations: 3.938 kB / 0.7909 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/0.2494, allocations: 4 kB / 0.7909 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.2494, allocations: 3.984 kB / 0.7909 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006156/0.2501, allocations: 0.6032 MB / 0.7915 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2501, allocations: 4 kB / 0.7915 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.066e-05/0.2501, allocations: 7.938 kB / 0.7915 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.2501, allocations: 7.938 kB / 0.7915 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.2502, allocations: 7.984 kB / 0.7915 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.2502, allocations: 4 kB / 0.7916 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2502, allocations: 0 / 0.7916 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003988/0.2506, allocations: 425.6 kB / 0.792 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/0.2506, allocations: 92.95 kB / 0.792 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.733e-05/0.2507, allocations: 11.92 kB / 0.7921 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.2508, allocations: 11.98 kB / 0.7921 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.221e-05/0.2509, allocations: 23.97 kB / 0.7921 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/0.2509, allocations: 15.98 kB / 0.7921 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.695e-05/0.251, allocations: 95.27 kB / 0.7922 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.251, allocations: 4 kB / 0.7922 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003666/0.2514, allocations: 55.98 kB / 0.7923 GB, free: 3.961 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0008151/0.2522, allocations: 0.9653 MB / 0.7932 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005435/0.2527, allocations: 350.6 kB / 0.7935 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.2528, allocations: 0 / 0.7935 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.2529, allocations: 123.8 kB / 0.7937 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.2534, allocations: 37.06 kB / 0.7937 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/0.256, allocations: 2.276 MB / 0.7959 GB, free: 24 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.2563, allocations: 0.7086 MB / 0.7966 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.071e-05/0.2564, allocations: 17.55 kB / 0.7966 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.475e-05/0.2565, allocations: 39.42 kB / 0.7967 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of SimCode: time 2.6e-07/0.2565, allocations: 0 / 0.7967 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02001/0.2765, allocations: 4.072 MB / 0.8006 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.669/7.945, allocations: 9.5 kB / 0.8006 GB, free: 11.25 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)