Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.OnOffController,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009621/0.0009622, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001206/0.001205, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.677/1.677, allocations: 292.7 MB / 0.5499 GB, free: 14.53 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.0005404/0.0005408, allocations: 15.94 kB / 0.6738 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2583, allocations: 116.3 MB / 0.7874 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.0009625/0.2593, allocations: 450.2 kB / 0.7878 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009646/0.2603, allocations: 0.8244 MB / 0.7886 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.871e-05/0.2603, allocations: 4 kB / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.085e-05/0.2604, allocations: 7.922 kB / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.32e-05/0.2605, allocations: 0 / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.2607, allocations: 11.98 kB / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.73e-05/0.2608, allocations: 35.86 kB / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.2609, allocations: 15.97 kB / 0.7887 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.16e-05/0.261, allocations: 15.94 kB / 0.7887 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.091e-05/0.261, allocations: 15.92 kB / 0.7888 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.2611, allocations: 4 kB / 0.7888 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.828e-06/0.2611, allocations: 0 / 0.7888 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.2611, allocations: 7.984 kB / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.624e-05/0.2611, allocations: 29.7 kB / 0.7888 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.03e-05/0.2612, allocations: 27.92 kB / 0.7888 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.2612, allocations: 4 kB / 0.7888 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2612, allocations: 0 / 0.7888 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.2612, allocations: 0 / 0.7888 GB, free: 10.32 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006131/0.2619, allocations: 391.5 kB / 0.7892 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.2619, allocations: 15.97 kB / 0.7892 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.092e-05/0.262, allocations: 46.47 kB / 0.7893 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.937e-05/0.262, allocations: 7.906 kB / 0.7893 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.2621, allocations: 167 kB / 0.7894 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.2622, allocations: 4 kB / 0.7894 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.2622, allocations: 0 / 0.7894 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.2624, allocations: 74.72 kB / 0.7895 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.2624, allocations: 0 / 0.7895 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.2624, allocations: 3.938 kB / 0.7895 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2624, allocations: 0 / 0.7895 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.2626, allocations: 51.91 kB / 0.7895 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005487/0.2632, allocations: 312.7 kB / 0.7898 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.2635, allocations: 54.55 kB / 0.7899 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.015e-05/0.2636, allocations: 29 kB / 0.7899 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.2636, allocations: 0 / 0.7899 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.2636, allocations: 42.5 kB / 0.79 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.2636, allocations: 0 / 0.79 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003622/0.264, allocations: 101.6 kB / 0.7901 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.2641, allocations: 51.41 kB / 0.7901 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.379e-05/0.2641, allocations: 125.8 kB / 0.7902 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.2642, allocations: 29.7 kB / 0.7903 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.934e-05/0.2642, allocations: 88.05 kB / 0.7903 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.2642, allocations: 7.969 kB / 0.7904 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-06/0.2643, allocations: 0 / 0.7904 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.2644, allocations: 322.8 kB / 0.7907 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.765e-05/0.2645, allocations: 27.92 kB / 0.7907 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.578e-05/0.2645, allocations: 27.98 kB / 0.7907 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.216e-05/0.2646, allocations: 27.97 kB / 0.7907 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.2646, allocations: 0 / 0.7907 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001956/0.2648, allocations: 89.66 kB / 0.7908 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.2649, allocations: 4 kB / 0.7908 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2649, allocations: 0 / 0.7908 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.2649, allocations: 384 / 0.7908 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.165e-05/0.265, allocations: 11.98 kB / 0.7908 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.265, allocations: 0 / 0.7908 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.667e-05/0.2651, allocations: 31.88 kB / 0.7909 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.2651, allocations: 3.938 kB / 0.7909 GB, free: 7.992 MB / 0.6075 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 7.36e-05/0.2652, allocations: 117.8 kB / 0.791 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.2652, allocations: 3.906 kB / 0.791 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002398/0.2654, allocations: 97.86 kB / 0.7911 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2655, allocations: 0 / 0.7911 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2655, allocations: 0 / 0.7911 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.2655, allocations: 0 / 0.7911 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.2656, allocations: 177.5 kB / 0.7913 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2656, allocations: 4 kB / 0.7913 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.14e-05/0.2657, allocations: 19.98 kB / 0.7913 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2657, allocations: 0 / 0.7913 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.2657, allocations: 0 / 0.7913 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2657, allocations: 0 / 0.7913 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2657, allocations: 0 / 0.7913 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.266, allocations: 187.3 kB / 0.7915 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.439e-05/0.266, allocations: 81.11 kB / 0.7915 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.266, allocations: 4 kB / 0.7915 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.2662, allocations: 19.97 kB / 0.7916 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.2662, allocations: 7.984 kB / 0.7916 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.2662, allocations: 4 kB / 0.7916 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.943e-05/0.2663, allocations: 91.27 kB / 0.7917 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2663, allocations: 0 / 0.7917 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002119/0.2665, allocations: 8 kB / 0.7917 GB, free: 7.078 MB / 0.6075 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.0005234/0.2671, allocations: 0.7201 MB / 0.7924 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002159/0.2673, allocations: 59.95 kB / 0.7924 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2673, allocations: 0 / 0.7924 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.45e-05/0.2674, allocations: 31.97 kB / 0.7925 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.2677, allocations: 0 / 0.7925 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008577/0.2686, allocations: 486.4 kB / 0.7929 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.2688, allocations: 0.6812 MB / 0.7936 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.507e-05/0.2688, allocations: 11.92 kB / 0.7936 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.344e-05/0.2689, allocations: 15.38 kB / 0.7936 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.2689, allocations: 3.938 kB / 0.7936 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01152/0.2804, allocations: 1.44 MB / 0.795 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/0.2807, allocations: 192.6 kB / 0.7952 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.891/2.172, allocations: 4 kB / 0.7952 GB, free: 3.461 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1) Environment - environmentSimulation: