Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.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.Nand,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",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.001486/0.001486, allocations: 100.3 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.001364/0.001364, 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.043/2.043, allocations: 223.2 MB / 239.9 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.577/3.577, allocations: 409.2 MB / 0.6838 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005327/0.0005325, allocations: 12 kB / 0.8375 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.34/1.34, allocations: 146.8 MB / 0.9809 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001372/1.342, allocations: 387.8 kB / 0.9813 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002266/1.344, allocations: 1.127 MB / 0.9824 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.943e-05/1.344, allocations: 0 / 0.9824 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.88e-05/1.344, allocations: 11.92 kB / 0.9824 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001042/1.344, allocations: 7.984 kB / 0.9824 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009351/1.345, allocations: 188.2 kB / 0.9826 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001989/1.345, allocations: 87.83 kB / 0.9826 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/1.346, allocations: 7.984 kB / 0.9826 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/1.346, allocations: 67.88 kB / 0.9827 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/1.346, allocations: 39.88 kB / 0.9827 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.06e-05/1.346, allocations: 8 kB / 0.9828 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/1.346, allocations: 23.98 kB / 0.9828 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.569e-05/1.346, allocations: 4 kB / 0.9828 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001178/1.346, allocations: 45.64 kB / 0.9828 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002177/1.346, allocations: 105.9 kB / 0.9829 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/1.346, allocations: 0 / 0.9829 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.915e-06/1.346, allocations: 0 / 0.9829 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.581e-06/1.346, allocations: 3.938 kB / 0.9829 GB, free: 4.203 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.0007016/1.347, allocations: 414.6 kB / 0.9833 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.607e-05/1.347, allocations: 8.031 kB / 0.9833 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.265e-05/1.347, allocations: 30.56 kB / 0.9834 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.34e-05/1.347, allocations: 8 kB / 0.9834 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/1.348, allocations: 171 kB / 0.9835 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/1.348, allocations: 4 kB / 0.9835 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.296e-05/1.348, allocations: 12 kB / 0.9836 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/1.348, allocations: 49.62 kB / 0.9836 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/1.348, allocations: 3.938 kB / 0.9836 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/1.348, allocations: 4 kB / 0.9836 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/1.348, allocations: 4 kB / 0.9836 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.122e-05/1.348, allocations: 12 kB / 0.9836 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007268/1.349, allocations: 352.7 kB / 0.984 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/1.349, allocations: 42.5 kB / 0.984 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/1.349, allocations: 0 / 0.984 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/1.349, allocations: 83.41 kB / 0.9841 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/1.349, allocations: 0 / 0.9841 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003531/1.35, allocations: 101.6 kB / 0.9842 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.844e-05/1.35, allocations: 55.41 kB / 0.9842 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/1.35, allocations: 122 kB / 0.9843 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.382e-05/1.35, allocations: 29.7 kB / 0.9844 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.896e-05/1.35, allocations: 96.22 kB / 0.9845 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/1.35, allocations: 11.91 kB / 0.9845 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-05/1.35, allocations: 8 kB / 0.9845 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001689/1.35, allocations: 318.8 kB / 0.9848 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/1.35, allocations: 55.97 kB / 0.9848 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/1.351, allocations: 92.62 kB / 0.9849 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/1.351, allocations: 115.4 kB / 0.985 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/1.351, allocations: 0 / 0.985 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006108/1.351, allocations: 268.7 kB / 0.9853 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.559e-05/1.352, allocations: 71.39 kB / 0.9854 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/1.352, allocations: 0 / 0.9854 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/1.352, allocations: 7.938 kB / 0.9854 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.059e-05/1.352, allocations: 0 / 0.9854 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/1.352, allocations: 4 kB / 0.9854 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005658/1.352, allocations: 83.89 kB / 0.9855 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.763e-05/1.352, allocations: 16 kB / 0.9855 GB, free: 1.309 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,nand1.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.0001678/1.352, allocations: 123.2 kB / 0.9856 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.727e-05/1.353, allocations: 3.953 kB / 0.9856 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.15e-05/1.353, allocations: 12.38 kB / 0.9856 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/1.353, allocations: 0 / 0.9856 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/1.353, allocations: 0 / 0.9856 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/1.353, allocations: 0 / 0.9856 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/1.353, allocations: 185.5 kB / 0.9858 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/1.353, allocations: 4.062 kB / 0.9858 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.208e-05/1.353, allocations: 8 kB / 0.9858 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/1.353, allocations: 3.953 kB / 0.9858 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/1.353, allocations: 4 kB / 0.9858 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/1.353, allocations: 0 / 0.9858 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/1.353, allocations: 0 / 0.9858 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/1.353, allocations: 101.1 kB / 0.9859 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.974e-05/1.353, allocations: 81.02 kB / 0.986 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/1.353, allocations: 15.94 kB / 0.986 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.847e-05/1.353, allocations: 4 kB / 0.986 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/1.353, allocations: 4 kB / 0.986 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/1.353, allocations: 3.984 kB / 0.986 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.359e-05/1.353, allocations: 95.16 kB / 0.9861 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/1.353, allocations: 0 / 0.9861 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003824/1.354, allocations: 32 kB / 0.9861 GB, free: 0.543 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,nand1.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.0008126/1.355, allocations: 0.6514 MB / 0.9868 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000488/1.355, allocations: 246.7 kB / 0.987 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/1.355, allocations: 0 / 0.987 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.931e-05/1.355, allocations: 28.41 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.0002928/1.356, allocations: 19.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.001175/1.357, allocations: 0.9913 MB / 0.988 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/1.357, allocations: 0.6887 MB / 0.9887 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.599e-05/1.357, allocations: 7.984 kB / 0.9887 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.391e-05/1.357, allocations: 15.44 kB / 0.9887 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of SimCode: time 5.11e-07/1.357, allocations: 4 kB / 0.9887 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/1.377, allocations: 2.549 MB / 0.9912 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003975/1.378, allocations: 191.9 kB / 0.9914 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.5/3.878, allocations: 3.5 kB / 0.9914 GB, free: 11.11 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat does not exist to compare? outputFormat=mat