Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_latest_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.001283/0.001283, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001359/0.001359, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.963/1.963, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.126/4.126, allocations: 409.2 MB / 0.6838 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005769/0.000577, allocations: 8 kB / 0.8375 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.249/1.25, allocations: 146.8 MB / 0.9809 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.001391/1.251, allocations: 441 kB / 0.9813 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001508/1.253, allocations: 0.822 MB / 0.9821 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.332e-05/1.253, allocations: 0 / 0.9821 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.008e-05/1.253, allocations: 0 / 0.9821 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.502e-05/1.253, allocations: 4 kB / 0.9821 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/1.253, allocations: 15.91 kB / 0.9821 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.803e-05/1.253, allocations: 27.91 kB / 0.9822 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/1.253, allocations: 19.98 kB / 0.9822 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.137e-05/1.253, allocations: 4 kB / 0.9822 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.116e-05/1.253, allocations: 19.91 kB / 0.9822 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/1.253, allocations: 4 kB / 0.9822 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.383e-05/1.253, allocations: 3.938 kB / 0.9822 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.132e-05/1.254, allocations: 11.92 kB / 0.9822 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.615e-05/1.254, allocations: 29.7 kB / 0.9822 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.662e-05/1.254, allocations: 27.94 kB / 0.9823 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/1.254, allocations: 0 / 0.9823 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of FrontEnd: time 6.483e-06/1.254, allocations: 3.984 kB / 0.9823 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.909e-06/1.254, allocations: 0 / 0.9823 GB, free: 4.848 MB / 0.7325 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.0009375/1.255, allocations: 391 kB / 0.9826 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/1.255, allocations: 12.03 kB / 0.9827 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.154e-05/1.255, allocations: 38.55 kB / 0.9827 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.099e-05/1.255, allocations: 11.84 kB / 0.9827 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/1.255, allocations: 159.1 kB / 0.9829 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/1.255, allocations: 4 kB / 0.9829 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/1.255, allocations: 0 / 0.9829 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003284/1.255, allocations: 77.61 kB / 0.9829 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/1.255, allocations: 0 / 0.9829 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/1.256, allocations: 0 / 0.9829 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/1.256, allocations: 0 / 0.9829 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000348/1.256, allocations: 51.97 kB / 0.983 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008751/1.257, allocations: 320.6 kB / 0.9833 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004312/1.257, allocations: 54.55 kB / 0.9833 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/1.257, allocations: 0 / 0.9833 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/1.257, allocations: 38.62 kB / 0.9834 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 5.42e-06/1.257, allocations: 0 / 0.9834 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0006531/1.258, allocations: 109.8 kB / 0.9835 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/1.258, allocations: 51.41 kB / 0.9835 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/1.258, allocations: 113.8 kB / 0.9836 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.952e-05/1.258, allocations: 25.7 kB / 0.9837 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.035e-05/1.258, allocations: 100 kB / 0.9838 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/1.258, allocations: 7.906 kB / 0.9838 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-06/1.258, allocations: 0 / 0.9838 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001432/1.259, allocations: 318.8 kB / 0.9841 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/1.259, allocations: 27.97 kB / 0.9841 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/1.259, allocations: 32.34 kB / 0.9841 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/1.259, allocations: 27.92 kB / 0.9842 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.237e-06/1.259, allocations: 3.953 kB / 0.9842 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003724/1.259, allocations: 89.66 kB / 0.9842 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/1.26, allocations: 11.92 kB / 0.9843 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/1.26, allocations: 0 / 0.9843 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/1.26, allocations: 0 / 0.9843 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/1.26, allocations: 8 kB / 0.9843 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/1.26, allocations: 0 / 0.9843 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/1.26, allocations: 31.88 kB / 0.9843 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/1.26, allocations: 0 / 0.9843 GB, free: 2.551 MB / 0.7325 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.0001251/1.26, allocations: 113.8 kB / 0.9844 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/1.26, allocations: 3.953 kB / 0.9844 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004026/1.261, allocations: 97.48 kB / 0.9845 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/1.261, allocations: 0 / 0.9845 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/1.261, allocations: 0 / 0.9845 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/1.261, allocations: 0 / 0.9845 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/1.261, allocations: 169.6 kB / 0.9847 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/1.261, allocations: 0 / 0.9847 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.739e-05/1.261, allocations: 11.95 kB / 0.9847 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/1.261, allocations: 4 kB / 0.9847 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/1.261, allocations: 3.984 kB / 0.9847 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/1.261, allocations: 4 kB / 0.9847 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.261, allocations: 0 / 0.9847 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003895/1.261, allocations: 179.4 kB / 0.9849 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.368e-05/1.261, allocations: 85.11 kB / 0.9849 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/1.262, allocations: 7.953 kB / 0.9849 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002327/1.262, allocations: 19.97 kB / 0.985 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.564e-05/1.262, allocations: 7.984 kB / 0.985 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/1.262, allocations: 0 / 0.985 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.072e-05/1.262, allocations: 87.28 kB / 0.9851 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.11e-07/1.262, allocations: 7.938 kB / 0.9851 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004141/1.262, allocations: 8 kB / 0.9851 GB, free: 1.652 MB / 0.7325 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.0008268/1.263, allocations: 0.7165 MB / 0.9858 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000351/1.264, allocations: 63.94 kB / 0.9858 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.264, allocations: 288 / 0.9858 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/1.264, allocations: 27.98 kB / 0.9859 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/1.264, allocations: 19.81 kB / 0.9859 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/1.266, allocations: 487.9 kB / 0.9863 GB, free: 284 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/1.266, allocations: 0.6809 MB / 0.987 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.021e-05/1.266, allocations: 11.98 kB / 0.987 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.225e-05/1.266, allocations: 15.44 kB / 0.987 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of SimCode: time 6.72e-07/1.266, allocations: 0 / 0.987 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01797/1.284, allocations: 1.421 MB / 0.9884 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/1.284, allocations: 190.3 kB / 0.9886 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.333/3.617, allocations: 2.25 kB / 0.9886 GB, free: 14.05 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController_res.mat does not exist to compare? outputFormat=mat