Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.And3,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And3",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.001243/0.001243, 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.001429/0.001429, 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 2.214/2.214, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.285/3.285, allocations: 409.2 MB / 0.6838 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006618/0.000662, allocations: 8 kB / 0.8375 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.183/1.184, allocations: 146.8 MB / 0.9809 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.001081/1.185, allocations: 427.7 kB / 0.9813 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001915/1.187, allocations: 1.189 MB / 0.9824 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.656e-05/1.187, allocations: 4 kB / 0.9825 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.345e-05/1.187, allocations: 3.938 kB / 0.9825 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.884e-05/1.187, allocations: 15.97 kB / 0.9825 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009259/1.188, allocations: 276.5 kB / 0.9827 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001845/1.188, allocations: 127.8 kB / 0.9829 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/1.189, allocations: 12.19 kB / 0.9829 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/1.189, allocations: 91.84 kB / 0.983 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/1.189, allocations: 71.77 kB / 0.983 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.752e-05/1.189, allocations: 15.94 kB / 0.983 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.492e-05/1.189, allocations: 23.98 kB / 0.9831 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.344e-05/1.189, allocations: 8 kB / 0.9831 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.103e-05/1.189, allocations: 49.64 kB / 0.9831 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002302/1.189, allocations: 153.9 kB / 0.9833 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/1.189, allocations: 0 / 0.9833 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.955e-06/1.189, allocations: 0 / 0.9833 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.031e-06/1.189, allocations: 0 / 0.9833 GB, free: 3.809 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.0006034/1.19, allocations: 460.2 kB / 0.9837 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/1.19, allocations: 8.031 kB / 0.9837 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.152e-05/1.19, allocations: 34.56 kB / 0.9837 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.169e-05/1.19, allocations: 15.89 kB / 0.9838 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/1.19, allocations: 174.9 kB / 0.9839 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/1.19, allocations: 12 kB / 0.9839 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.574e-05/1.19, allocations: 15.98 kB / 0.984 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/1.191, allocations: 65.62 kB / 0.984 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/1.191, allocations: 0 / 0.984 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/1.191, allocations: 3.984 kB / 0.984 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/1.191, allocations: 4 kB / 0.984 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.216e-05/1.191, allocations: 20 kB / 0.984 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006439/1.191, allocations: 412.5 kB / 0.9844 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.525e-05/1.191, allocations: 42.5 kB / 0.9845 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/1.191, allocations: 0 / 0.9845 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/1.192, allocations: 103.3 kB / 0.9846 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/1.192, allocations: 0 / 0.9846 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0003174/1.192, allocations: 137.5 kB / 0.9847 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.552e-05/1.192, allocations: 55.39 kB / 0.9848 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/1.192, allocations: 135.2 kB / 0.9849 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.399e-05/1.192, allocations: 34.08 kB / 0.9849 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.136e-05/1.192, allocations: 96.05 kB / 0.985 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/1.192, allocations: 27.86 kB / 0.985 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/1.192, allocations: 8 kB / 0.985 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001436/1.193, allocations: 318.8 kB / 0.9853 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/1.193, allocations: 87.94 kB / 0.9854 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/1.193, allocations: 137.9 kB / 0.9856 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002155/1.193, allocations: 179 kB / 0.9857 GB, free: 1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.193, allocations: 0 / 0.9857 GB, free: 1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000576/1.194, allocations: 366.5 kB / 0.9861 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.906e-05/1.194, allocations: 101.1 kB / 0.9862 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/1.194, allocations: 192 / 0.9862 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/1.194, allocations: 8 kB / 0.9862 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.872e-05/1.194, allocations: 4 kB / 0.9862 GB, free: 500 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/1.194, allocations: 3.938 kB / 0.9862 GB, free: 496 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006159/1.195, allocations: 121.6 kB / 0.9863 GB, free: 376 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.478e-05/1.195, allocations: 23.98 kB / 0.9863 GB, free: 352 kB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.y,$PRE.booPul3.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001638/1.195, allocations: 131.2 kB / 0.9865 GB, free: 212 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/1.195, allocations: 7.906 kB / 0.9865 GB, free: 204 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.68e-05/1.195, allocations: 8.375 kB / 0.9865 GB, free: 192 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/1.195, allocations: 0 / 0.9865 GB, free: 192 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/1.195, allocations: 4 kB / 0.9865 GB, free: 188 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/1.195, allocations: 3.984 kB / 0.9865 GB, free: 184 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/1.195, allocations: 193.6 kB / 0.9867 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.195, allocations: 0 / 0.9867 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.406e-05/1.195, allocations: 3.938 kB / 0.9867 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/1.195, allocations: 4 kB / 0.9867 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/1.195, allocations: 7.984 kB / 0.9867 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/1.195, allocations: 0 / 0.9867 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/1.195, allocations: 3.938 kB / 0.9867 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/1.195, allocations: 129 kB / 0.9868 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.99e-05/1.195, allocations: 92.95 kB / 0.9869 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/1.195, allocations: 4 kB / 0.9869 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.578e-05/1.196, allocations: 4 kB / 0.9869 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/1.196, allocations: 11.98 kB / 0.9869 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/1.196, allocations: 12 kB / 0.9869 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.754e-05/1.196, allocations: 93.09 kB / 0.987 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.196, allocations: 0 / 0.987 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002842/1.196, allocations: 48.08 kB / 0.9871 GB, free: 15.5 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005929/1.197, allocations: 0.6834 MB / 0.9877 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004821/1.197, allocations: 362 kB / 0.9881 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.197, allocations: 0 / 0.9881 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.554e-05/1.197, allocations: 36 kB / 0.9881 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/1.197, allocations: 25.28 kB / 0.9881 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/1.199, allocations: 1.349 MB / 0.9895 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/1.199, allocations: 0.6965 MB / 0.9901 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.527e-05/1.199, allocations: 12.42 kB / 0.9901 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.48e-05/1.199, allocations: 27.42 kB / 0.9902 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of SimCode: time 5.21e-07/1.199, allocations: 0 / 0.9902 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01764/1.217, allocations: 3.411 MB / 0.9935 GB, free: 8.902 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003241/1.217, allocations: 184.7 kB / 0.9937 GB, free: 8.664 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.251/3.468, allocations: 8 kB / 0.9937 GB, free: 8.656 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And3.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat does not exist to compare? outputFormat=mat