Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.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.MultiAnd,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",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.001379/0.001379, allocations: 99.47 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.001777/0.001778, 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.355/2.355, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.318/3.318, allocations: 409.2 MB / 0.6838 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004294/0.0004295, allocations: 15.98 kB / 0.8375 GB, free: 6.602 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9254/0.9258, allocations: 146.8 MB / 0.9809 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001182/0.9271, allocations: 0.5368 MB / 0.9814 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001993/0.9291, allocations: 1.362 MB / 0.9827 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.038e-05/0.9292, allocations: 0 / 0.9827 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.9293, allocations: 19.86 kB / 0.9828 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.324e-05/0.9294, allocations: 35.86 kB / 0.9828 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.9308, allocations: 474.2 kB / 0.9832 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004032/0.9312, allocations: 247.6 kB / 0.9835 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.9314, allocations: 29.48 kB / 0.9835 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/0.9317, allocations: 159.7 kB / 0.9837 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.9319, allocations: 127.6 kB / 0.9838 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.119e-05/0.9319, allocations: 24 kB / 0.9838 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.932, allocations: 27.98 kB / 0.9838 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.007e-05/0.9321, allocations: 35.92 kB / 0.9839 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.61e-05/0.9322, allocations: 69.58 kB / 0.9839 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003688/0.9326, allocations: 289.5 kB / 0.9842 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.9326, allocations: 0 / 0.9842 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.767e-06/0.9326, allocations: 0 / 0.9842 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.9326, allocations: 0 / 0.9842 GB, free: 2.957 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007068/0.9333, allocations: 0.5811 MB / 0.9848 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.9334, allocations: 8.031 kB / 0.9848 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.46e-05/0.9334, allocations: 42.55 kB / 0.9848 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.687e-05/0.9335, allocations: 27.81 kB / 0.9848 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.9339, allocations: 258.7 kB / 0.9851 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.9339, allocations: 16 kB / 0.9851 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.638e-05/0.934, allocations: 39.98 kB / 0.9851 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.9343, allocations: 144.7 kB / 0.9853 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.9343, allocations: 3.984 kB / 0.9853 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.9343, allocations: 8 kB / 0.9853 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.9343, allocations: 0 / 0.9853 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.9345, allocations: 83.89 kB / 0.9854 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009519/0.9354, allocations: 0.7033 MB / 0.9861 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.9356, allocations: 171.7 kB / 0.9862 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.9357, allocations: 0 / 0.9862 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002579/0.9359, allocations: 163.3 kB / 0.9864 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 2.425e-06/0.9359, allocations: 0 / 0.9864 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.0004804/0.9364, allocations: 240 kB / 0.9866 GB, free: 260 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.9365, allocations: 63.39 kB / 0.9867 GB, free: 184 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.9367, allocations: 174.9 kB / 0.9868 GB, free: 16 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.322e-05/0.9368, allocations: 37.7 kB / 0.9869 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.9369, allocations: 136.2 kB / 0.987 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.9369, allocations: 39.52 kB / 0.987 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/0.937, allocations: 8 kB / 0.987 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.9371, allocations: 330.8 kB / 0.9874 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/0.9374, allocations: 156 kB / 0.9875 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003548/0.9378, allocations: 242.1 kB / 0.9877 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003612/0.9381, allocations: 290.4 kB / 0.988 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.9382, allocations: 0 / 0.988 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009927/0.9392, allocations: 0.6272 MB / 0.9886 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001254/0.9393, allocations: 162.4 kB / 0.9888 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.9393, allocations: 0 / 0.9888 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.9393, allocations: 8 kB / 0.9888 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.062e-05/0.9394, allocations: 15.92 kB / 0.9888 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.9394, allocations: 4 kB / 0.9888 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009978/0.9404, allocations: 194.3 kB / 0.989 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-05/0.9405, allocations: 35.97 kB / 0.989 GB, free: 13.6 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[2],mulAnd5.uTemp[3],mulAnd5.uTemp[4],$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,$PRE.booPul4.y,booPul4.y,$PRE.booPul5.y,booPul5.y,mulAnd0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0003114/0.9408, allocations: 155.1 kB / 0.9892 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.921e-05/0.9409, allocations: 19.83 kB / 0.9892 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.256e-05/0.941, allocations: 21.88 kB / 0.9892 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.941, allocations: 3.984 kB / 0.9892 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.941, allocations: 0 / 0.9892 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.941, allocations: 3.984 kB / 0.9892 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007312/0.9418, allocations: 0.5184 MB / 0.9897 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.9418, allocations: 0 / 0.9897 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.153e-05/0.9418, allocations: 4 kB / 0.9897 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.9418, allocations: 0 / 0.9897 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.9418, allocations: 11.98 kB / 0.9897 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.9418, allocations: 0 / 0.9897 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.9418, allocations: 0 / 0.9897 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.9422, allocations: 288.7 kB / 0.99 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-05/0.9422, allocations: 92.88 kB / 0.9901 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.9423, allocations: 4 kB / 0.9901 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.036e-05/0.9423, allocations: 4 kB / 0.9901 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.919e-05/0.9424, allocations: 19.97 kB / 0.9901 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.9424, allocations: 11.98 kB / 0.9902 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.535e-05/0.9425, allocations: 125.2 kB / 0.9903 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9426, allocations: 0 / 0.9903 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000413/0.943, allocations: 79.94 kB / 0.9903 GB, free: 12.16 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: 20 (mulAnd5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0007821/0.9438, allocations: 0.8314 MB / 0.9912 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008407/0.9446, allocations: 0.6144 MB / 0.9918 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.9446, allocations: 4.25 kB / 0.9918 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.9448, allocations: 75.91 kB / 0.9918 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004613/0.9453, allocations: 43.91 kB / 0.9919 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.9471, allocations: 2.305 MB / 0.9941 GB, free: 8.105 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.9474, allocations: 0.7325 MB / 0.9948 GB, free: 7.348 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.076e-05/0.9475, allocations: 29.53 kB / 0.9949 GB, free: 7.32 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.918e-05/0.9476, allocations: 51.42 kB / 0.9949 GB, free: 7.27 MB / 0.7481 GB Notification: Performance of SimCode: time 1.102e-06/0.9476, allocations: 0 / 0.9949 GB, free: 7.27 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02086/0.9685, allocations: 5.802 MB / 1.001 GB, free: 1.652 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000316/0.9689, allocations: 184.4 kB / 1.001 GB, free: 1.418 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.308/3.277, allocations: 0 / 1.001 GB, free: 1.418 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat does not exist to compare? outputFormat=mat