Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.And,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And",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.001354/0.001354, 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.001117/0.001117, allocations: 177.3 kB / 15.94 MB, free: 228 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.882/1.882, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.434/4.434, allocations: 409.2 MB / 0.6838 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006031/0.0006033, allocations: 15.98 kB / 0.8375 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.33/1.331, allocations: 146.8 MB / 0.9809 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001207/1.332, allocations: 391.8 kB / 0.9812 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002034/1.334, allocations: 1.123 MB / 0.9823 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.726e-05/1.334, allocations: 0 / 0.9823 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.658e-05/1.334, allocations: 3.938 kB / 0.9823 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001206/1.334, allocations: 15.97 kB / 0.9824 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009286/1.335, allocations: 191.7 kB / 0.9825 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001811/1.335, allocations: 91.81 kB / 0.9826 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/1.336, allocations: 7.984 kB / 0.9826 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/1.336, allocations: 63.88 kB / 0.9827 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/1.336, allocations: 43.88 kB / 0.9827 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.475e-05/1.336, allocations: 8 kB / 0.9828 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.38e-05/1.336, allocations: 15.98 kB / 0.9828 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.108e-05/1.336, allocations: 11.98 kB / 0.9828 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.153e-05/1.336, allocations: 45.64 kB / 0.9828 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001904/1.336, allocations: 105.9 kB / 0.9829 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/1.336, allocations: 0 / 0.9829 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.464e-06/1.336, allocations: 0 / 0.9829 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.929e-06/1.336, allocations: 0 / 0.9829 GB, free: 4.211 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005452/1.337, allocations: 410.6 kB / 0.9833 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/1.337, allocations: 12.03 kB / 0.9833 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.762e-05/1.337, allocations: 38.48 kB / 0.9834 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.139e-05/1.337, allocations: 8 kB / 0.9834 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/1.337, allocations: 167 kB / 0.9835 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/1.337, allocations: 8 kB / 0.9835 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/1.337, allocations: 12 kB / 0.9835 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/1.337, allocations: 53.56 kB / 0.9836 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/1.338, allocations: 0 / 0.9836 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/1.338, allocations: 4 kB / 0.9836 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/1.338, allocations: 0 / 0.9836 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.681e-05/1.338, allocations: 15.98 kB / 0.9836 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006544/1.338, allocations: 348.7 kB / 0.984 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/1.338, allocations: 38.52 kB / 0.984 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/1.338, allocations: 7.938 kB / 0.984 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001836/1.339, allocations: 75.47 kB / 0.9841 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/1.339, allocations: 0 / 0.9841 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003418/1.339, allocations: 101.6 kB / 0.9842 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.043e-05/1.339, allocations: 63.39 kB / 0.9842 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/1.339, allocations: 118 kB / 0.9843 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.138e-05/1.339, allocations: 29.7 kB / 0.9844 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.407e-05/1.339, allocations: 92.23 kB / 0.9845 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/1.339, allocations: 15.89 kB / 0.9845 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.383e-05/1.339, allocations: 0 / 0.9845 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001711/1.34, allocations: 318.8 kB / 0.9848 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/1.34, allocations: 59.95 kB / 0.9848 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/1.34, allocations: 92.27 kB / 0.9849 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/1.34, allocations: 115.8 kB / 0.985 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/1.34, allocations: 0 / 0.985 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005861/1.341, allocations: 268.8 kB / 0.9853 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.366e-05/1.341, allocations: 67.39 kB / 0.9854 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/1.341, allocations: 8 kB / 0.9854 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/1.341, allocations: 4 kB / 0.9854 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.139e-05/1.341, allocations: 11.98 kB / 0.9854 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/1.341, allocations: 0 / 0.9854 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005727/1.342, allocations: 79.81 kB / 0.9854 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.693e-05/1.342, allocations: 11.98 kB / 0.9855 GB, free: 1.316 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001536/1.342, allocations: 119.4 kB / 0.9856 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.845e-05/1.342, allocations: 7.953 kB / 0.9856 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.672e-05/1.342, allocations: 12.38 kB / 0.9856 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/1.342, allocations: 4 kB / 0.9856 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/1.342, allocations: 0 / 0.9856 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/1.342, allocations: 7.922 kB / 0.9856 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/1.342, allocations: 181.5 kB / 0.9858 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/1.342, allocations: 0 / 0.9858 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.929e-06/1.342, allocations: 0 / 0.9858 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/1.342, allocations: 3.953 kB / 0.9858 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/1.342, allocations: 7.984 kB / 0.9858 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/1.342, allocations: 0 / 0.9858 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/1.342, allocations: 4 kB / 0.9858 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/1.342, allocations: 101.4 kB / 0.9859 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.343e-05/1.343, allocations: 89 kB / 0.986 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/1.343, allocations: 3.953 kB / 0.986 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.762e-05/1.343, allocations: 0 / 0.986 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/1.343, allocations: 7.984 kB / 0.986 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/1.343, allocations: 4 kB / 0.986 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.763e-05/1.343, allocations: 99.14 kB / 0.9861 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.81e-07/1.343, allocations: 4 kB / 0.9861 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003627/1.343, allocations: 28 kB / 0.9861 GB, free: 0.5469 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006469/1.344, allocations: 0.6475 MB / 0.9867 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004734/1.344, allocations: 242.9 kB / 0.987 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.344, allocations: 8.062 kB / 0.987 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 7.05e-05/1.344, allocations: 31.92 kB / 0.987 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/1.345, allocations: 15.88 kB / 0.987 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/1.346, allocations: 0.9871 MB / 0.988 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/1.346, allocations: 0.6926 MB / 0.9887 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.482e-05/1.346, allocations: 8 kB / 0.9887 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.513e-05/1.346, allocations: 15.44 kB / 0.9887 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of SimCode: time 3.4e-07/1.346, allocations: 0 / 0.9887 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/1.371, allocations: 2.563 MB / 0.9912 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003136/1.372, allocations: 180.8 kB / 0.9914 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.429/3.801, allocations: 0 / 0.9914 GB, free: 11.11 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat does not exist to compare? outputFormat=mat