Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.Or,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or",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.001482/0.001483, 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.001545/0.001545, 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.036/2.036, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.881/3.881, allocations: 409.2 MB / 0.6838 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004291/0.0004294, allocations: 8 kB / 0.8375 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027/1.027, allocations: 146.8 MB / 0.9809 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.0009462/1.028, allocations: 391.7 kB / 0.9813 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001555/1.03, allocations: 1.127 MB / 0.9824 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.054e-05/1.03, allocations: 0 / 0.9824 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.983e-05/1.03, allocations: 4 kB / 0.9824 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.509e-05/1.03, allocations: 11.98 kB / 0.9824 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007692/1.031, allocations: 193 kB / 0.9826 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001514/1.031, allocations: 79.89 kB / 0.9826 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/1.031, allocations: 19.92 kB / 0.9827 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.886e-05/1.031, allocations: 51.95 kB / 0.9827 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/1.031, allocations: 51.86 kB / 0.9828 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.065e-05/1.031, allocations: 8 kB / 0.9828 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.311e-05/1.031, allocations: 23.92 kB / 0.9828 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.962e-05/1.031, allocations: 4 kB / 0.9828 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.138e-05/1.032, allocations: 37.7 kB / 0.9828 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000167/1.032, allocations: 105.9 kB / 0.9829 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/1.032, allocations: 0 / 0.9829 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.966e-06/1.032, allocations: 0 / 0.9829 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.514e-06/1.032, allocations: 0 / 0.9829 GB, free: 4.188 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.0005506/1.032, allocations: 414.6 kB / 0.9833 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/1.032, allocations: 8.031 kB / 0.9833 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.508e-05/1.032, allocations: 38.5 kB / 0.9834 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.424e-05/1.032, allocations: 11.98 kB / 0.9834 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/1.033, allocations: 167 kB / 0.9835 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/1.033, allocations: 4 kB / 0.9835 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.06e-05/1.033, allocations: 8 kB / 0.9835 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/1.033, allocations: 57.62 kB / 0.9836 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/1.033, allocations: 0 / 0.9836 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/1.033, allocations: 0 / 0.9836 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/1.033, allocations: 4 kB / 0.9836 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.86e-05/1.033, allocations: 15.94 kB / 0.9836 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005533/1.033, allocations: 348.7 kB / 0.984 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.848e-05/1.034, allocations: 38.52 kB / 0.984 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.357e-06/1.034, allocations: 0 / 0.984 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/1.034, allocations: 87.39 kB / 0.9841 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/1.034, allocations: 3.938 kB / 0.9841 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0002652/1.034, allocations: 101.6 kB / 0.9842 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/1.034, allocations: 51.41 kB / 0.9842 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.535e-05/1.034, allocations: 118 kB / 0.9843 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/1.034, allocations: 33.7 kB / 0.9844 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.168e-05/1.034, allocations: 88.23 kB / 0.9844 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/1.034, allocations: 15.89 kB / 0.9845 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.769e-05/1.034, allocations: 8 kB / 0.9845 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001141/1.034, allocations: 318.8 kB / 0.9848 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/1.035, allocations: 63.91 kB / 0.9848 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/1.035, allocations: 95.25 kB / 0.9849 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/1.035, allocations: 111.4 kB / 0.985 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.035, allocations: 0 / 0.985 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003816/1.035, allocations: 272.7 kB / 0.9853 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.247e-05/1.035, allocations: 67.39 kB / 0.9854 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/1.035, allocations: 0 / 0.9854 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/1.035, allocations: 4 kB / 0.9854 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.416e-05/1.035, allocations: 8 kB / 0.9854 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/1.035, allocations: 4 kB / 0.9854 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004003/1.036, allocations: 85.06 kB / 0.9855 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/1.036, allocations: 19.98 kB / 0.9855 GB, free: 1.281 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,or1.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.0001067/1.036, allocations: 120.6 kB / 0.9856 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.398e-05/1.036, allocations: 7.953 kB / 0.9856 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.683e-05/1.036, allocations: 4.375 kB / 0.9856 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/1.036, allocations: 3.938 kB / 0.9856 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.036, allocations: 0 / 0.9856 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/1.036, allocations: 0 / 0.9856 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/1.036, allocations: 181.5 kB / 0.9858 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.036, allocations: 0 / 0.9858 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.838e-06/1.036, allocations: 8 kB / 0.9858 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/1.036, allocations: 3.953 kB / 0.9858 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/1.036, allocations: 0 / 0.9858 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/1.036, allocations: 3.938 kB / 0.9858 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1.036, allocations: 320 / 0.9858 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/1.036, allocations: 113.1 kB / 0.9859 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.937e-05/1.037, allocations: 89 kB / 0.986 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/1.037, allocations: 7.938 kB / 0.986 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.94e-05/1.037, allocations: 4 kB / 0.986 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/1.037, allocations: 8 kB / 0.986 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/1.037, allocations: 3.984 kB / 0.986 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.582e-05/1.037, allocations: 87.28 kB / 0.9861 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/1.037, allocations: 0 / 0.9861 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00025/1.037, allocations: 31.98 kB / 0.9861 GB, free: 0.5195 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,or1.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.0004803/1.037, allocations: 0.6553 MB / 0.9868 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003365/1.038, allocations: 238.7 kB / 0.987 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.038, allocations: 0 / 0.987 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 5.25e-05/1.038, allocations: 31.97 kB / 0.987 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/1.038, allocations: 19.89 kB / 0.987 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008716/1.039, allocations: 0.9912 MB / 0.988 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/1.039, allocations: 0.6887 MB / 0.9887 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.947e-05/1.039, allocations: 8.266 kB / 0.9887 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.151e-05/1.039, allocations: 19.44 kB / 0.9887 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of SimCode: time 3.81e-07/1.039, allocations: 4 kB / 0.9887 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01478/1.054, allocations: 2.547 MB / 0.9912 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002484/1.054, allocations: 185.4 kB / 0.9914 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.435/3.49, allocations: 4 kB / 0.9914 GB, free: 11.08 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat does not exist to compare? outputFormat=mat