Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.551/2.551, allocations: 287.3 MB / 302.3 MB, free: 8.391 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001501/0.0015, allocations: 190.5 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.181/2.181, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 92.72 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004849/0.0004851, allocations: 12.84 kB / 0.8657 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2157, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.001291/0.217, allocations: 438.5 kB / 0.9787 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002482/0.2196, allocations: 0.8205 MB / 0.9795 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.007e-05/0.2197, allocations: 0 / 0.9795 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.285e-05/0.2197, allocations: 3.938 kB / 0.9795 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.2198, allocations: 0 / 0.9795 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.2201, allocations: 23.91 kB / 0.9795 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.2202, allocations: 31.91 kB / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.2204, allocations: 4 kB / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.1e-05/0.2205, allocations: 11.98 kB / 0.9796 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.079e-05/0.2205, allocations: 19.92 kB / 0.9796 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.289e-05/0.2206, allocations: 0 / 0.9796 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.748e-05/0.2206, allocations: 4 kB / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.309e-05/0.2207, allocations: 11.91 kB / 0.9796 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.986e-05/0.2207, allocations: 29.7 kB / 0.9797 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.31e-05/0.2208, allocations: 27.94 kB / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2208, allocations: 4 kB / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.394e-06/0.2209, allocations: 4 kB / 0.9797 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.2209, allocations: 0 / 0.9797 GB, free: 26.83 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00125/0.2221, allocations: 387.5 kB / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001124/0.2223, allocations: 12.02 kB / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.716e-05/0.2224, allocations: 30.56 kB / 0.9801 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.2226, allocations: 7.906 kB / 0.9801 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.2228, allocations: 182.9 kB / 0.9803 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/0.2229, allocations: 0 / 0.9803 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.288e-05/0.223, allocations: 8 kB / 0.9803 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003572/0.2234, allocations: 69.61 kB / 0.9804 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.2234, allocations: 3.984 kB / 0.9804 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.2234, allocations: 4 kB / 0.9804 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.2234, allocations: 0 / 0.9804 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004022/0.2239, allocations: 59.95 kB / 0.9804 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008606/0.2247, allocations: 304.7 kB / 0.9807 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004741/0.2252, allocations: 62.61 kB / 0.9808 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.187e-05/0.2253, allocations: 0 / 0.9808 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.2253, allocations: 30.56 kB / 0.9808 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.893e-06/0.2254, allocations: 0 / 0.9808 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.001591/0.227, allocations: 117.7 kB / 0.9809 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.227, allocations: 55.36 kB / 0.981 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.2272, allocations: 110.1 kB / 0.9811 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.2272, allocations: 29.7 kB / 0.9811 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.493e-05/0.2273, allocations: 88.05 kB / 0.9812 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.2274, allocations: 15.98 kB / 0.9812 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-06/0.2274, allocations: 3.938 kB / 0.9812 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.937e-05/0.2275, allocations: 310.8 kB / 0.9815 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.2277, allocations: 23.98 kB / 0.9815 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.2279, allocations: 35.97 kB / 0.9815 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.2281, allocations: 23.98 kB / 0.9816 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.2282, allocations: 0 / 0.9816 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000497/0.2287, allocations: 93.59 kB / 0.9817 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.2287, allocations: 4 kB / 0.9817 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.2287, allocations: 0 / 0.9817 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/0.2288, allocations: 0 / 0.9817 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.229, allocations: 15.98 kB / 0.9817 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.229, allocations: 3.953 kB / 0.9817 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/0.2293, allocations: 31.91 kB / 0.9817 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.2293, allocations: 4 kB / 0.9817 GB, free: 24.52 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001861/0.2295, allocations: 105.8 kB / 0.9818 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000269/0.2298, allocations: 7.906 kB / 0.9818 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009994/0.2308, allocations: 97.48 kB / 0.9819 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.2309, allocations: 0 / 0.9819 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.2309, allocations: 4 kB / 0.9819 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.2309, allocations: 7.891 kB / 0.9819 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003036/0.2312, allocations: 165.7 kB / 0.9821 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.2312, allocations: 384 / 0.9821 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.2314, allocations: 11.98 kB / 0.9821 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.201e-05/0.2314, allocations: 4 kB / 0.9821 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.2315, allocations: 0 / 0.9821 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.2315, allocations: 0 / 0.9821 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.2315, allocations: 0 / 0.9821 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005101/0.232, allocations: 196.3 kB / 0.9823 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.621e-05/0.2321, allocations: 81.11 kB / 0.9824 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.2321, allocations: 0 / 0.9824 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003208/0.2325, allocations: 15.98 kB / 0.9824 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.962e-05/0.2326, allocations: 11.98 kB / 0.9824 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.2326, allocations: 0 / 0.9824 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.011e-05/0.2327, allocations: 99.2 kB / 0.9825 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.01e-07/0.2327, allocations: 0 / 0.9825 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001122/0.2338, allocations: 8 kB / 0.9825 GB, free: 23.62 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.001128/0.235, allocations: 0.7171 MB / 0.9832 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004609/0.2355, allocations: 59.89 kB / 0.9833 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.2355, allocations: 4 kB / 0.9833 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002062/0.2357, allocations: 27.98 kB / 0.9833 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.2362, allocations: 4 kB / 0.9833 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/0.2386, allocations: 479.1 kB / 0.9837 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.2389, allocations: 0.6887 MB / 0.9844 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.541e-05/0.239, allocations: 4 kB / 0.9844 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.603e-05/0.2391, allocations: 15.42 kB / 0.9844 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of SimCode: time 1.293e-06/0.2391, allocations: 0 / 0.9844 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02685/0.2659, allocations: 1.43 MB / 0.9858 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000366/0.2664, allocations: 200.3 kB / 0.986 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.394/2.66, allocations: 0 / 0.986 GB, free: 20.02 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)