Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.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.Not,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not",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.0008188/0.0008188, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0009146/0.0009146, allocations: 168.7 kB / 15.95 MB, free: 204 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.437/1.437, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.602/2.602, allocations: 409.4 MB / 0.684 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003206/0.0003207, allocations: 12 kB / 0.8378 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8406/0.841, allocations: 146.8 MB / 0.9811 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.0009872/0.8421, allocations: 351.8 kB / 0.9815 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.8435, allocations: 1.084 MB / 0.9825 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.631e-05/0.8435, allocations: 0 / 0.9825 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.931e-05/0.8436, allocations: 3.938 kB / 0.9825 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.23e-05/0.8436, allocations: 3.984 kB / 0.9826 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004381/0.8441, allocations: 122.9 kB / 0.9827 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.211e-05/0.8442, allocations: 59.89 kB / 0.9827 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.217e-05/0.8443, allocations: 8 kB / 0.9827 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.112e-05/0.8443, allocations: 27.92 kB / 0.9828 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.76e-05/0.8444, allocations: 23.95 kB / 0.9828 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.8445, allocations: 4 kB / 0.9828 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.587e-05/0.8445, allocations: 19.92 kB / 0.9828 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.8445, allocations: 4 kB / 0.9828 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.855e-05/0.8446, allocations: 33.69 kB / 0.9828 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.8447, allocations: 59.88 kB / 0.9829 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.8447, allocations: 0 / 0.9829 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.864e-06/0.8447, allocations: 0 / 0.9829 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.8447, allocations: 0 / 0.9829 GB, free: 4.434 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000408/0.8452, allocations: 365.2 kB / 0.9832 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.8452, allocations: 8.031 kB / 0.9833 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.282e-05/0.8452, allocations: 30.56 kB / 0.9833 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.8453, allocations: 4 kB / 0.9833 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.8454, allocations: 171 kB / 0.9834 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.8454, allocations: 7.938 kB / 0.9835 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.8455, allocations: 8 kB / 0.9835 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.513e-05/0.8456, allocations: 41.64 kB / 0.9835 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.8456, allocations: 0 / 0.9835 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.8456, allocations: 7.984 kB / 0.9835 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.8456, allocations: 0 / 0.9835 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.265e-05/0.8456, allocations: 7.984 kB / 0.9835 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.846, allocations: 288.8 kB / 0.9838 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.373e-05/0.8461, allocations: 30.47 kB / 0.9838 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.758e-05/0.8461, allocations: 12.84 kB / 0.9838 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.472e-06/0.8461, allocations: 0 / 0.9838 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001314/0.8463, allocations: 55.47 kB / 0.9839 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.8463, allocations: 0 / 0.9839 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0001729/0.8464, allocations: 61.61 kB / 0.9839 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.8465, allocations: 59.41 kB / 0.984 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.19e-05/0.8466, allocations: 105.8 kB / 0.9841 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.8466, allocations: 29.7 kB / 0.9841 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.672e-05/0.8467, allocations: 87.98 kB / 0.9842 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.8467, allocations: 11.91 kB / 0.9842 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.019e-05/0.8467, allocations: 0 / 0.9842 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.8468, allocations: 310.8 kB / 0.9845 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.494e-05/0.8469, allocations: 27.98 kB / 0.9846 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.359e-05/0.847, allocations: 54.55 kB / 0.9846 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.023e-05/0.8471, allocations: 53.7 kB / 0.9847 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.8471, allocations: 0 / 0.9847 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002266/0.8473, allocations: 147.2 kB / 0.9848 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.169e-05/0.8473, allocations: 42.58 kB / 0.9848 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.8474, allocations: 0 / 0.9848 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.8474, allocations: 0 / 0.9848 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.459e-05/0.8474, allocations: 0 / 0.9848 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.8474, allocations: 8.094 kB / 0.9848 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.8476, allocations: 35.95 kB / 0.9849 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.8477, allocations: 4 kB / 0.9849 GB, free: 2.141 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 9.391e-05/0.8478, allocations: 117.8 kB / 0.985 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-06/0.8478, allocations: 11.89 kB / 0.985 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.202e-05/0.8478, allocations: 7.484 kB / 0.985 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.8478, allocations: 320 / 0.985 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.8478, allocations: 0 / 0.985 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.8478, allocations: 0 / 0.985 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.848, allocations: 165.7 kB / 0.9852 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.848, allocations: 0 / 0.9852 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.13e-06/0.848, allocations: 0 / 0.9852 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.848, allocations: 3.953 kB / 0.9852 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.848, allocations: 4 kB / 0.9852 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.848, allocations: 3.984 kB / 0.9852 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.848, allocations: 4 kB / 0.9852 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.8481, allocations: 81.2 kB / 0.9853 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.8482, allocations: 81.14 kB / 0.9853 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.8482, allocations: 7.953 kB / 0.9853 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.278e-05/0.8482, allocations: 0 / 0.9853 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-05/0.8482, allocations: 3.984 kB / 0.9854 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.8482, allocations: 4 kB / 0.9854 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.424e-05/0.8483, allocations: 83.28 kB / 0.9854 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8483, allocations: 4 kB / 0.9854 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002021/0.8485, allocations: 12 kB / 0.9855 GB, free: 1.461 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004085/0.8489, allocations: 0.624 MB / 0.9861 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002072/0.8491, allocations: 123.4 kB / 0.9862 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8492, allocations: 3.938 kB / 0.9862 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.372e-05/0.8492, allocations: 19.92 kB / 0.9862 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/0.8494, allocations: 11.89 kB / 0.9862 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007836/0.8502, allocations: 490.6 kB / 0.9867 GB, free: 108 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.8505, allocations: 0.677 MB / 0.9873 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.16e-05/0.8505, allocations: 4 kB / 0.9873 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.588e-05/0.8506, allocations: 11.38 kB / 0.9874 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.8506, allocations: 0 / 0.9874 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01262/0.8632, allocations: 1.677 MB / 0.989 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/0.8634, allocations: 191.3 kB / 0.9892 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/2.632, allocations: 0 / 0.9892 GB, free: 13.61 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat does not exist to compare? outputFormat=mat