Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Or3,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",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.00147/0.00147, allocations: 99.62 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.001512/0.001512, 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.341/2.341, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.593/3.593, allocations: 409.2 MB / 0.6838 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006871/0.0006871, allocations: 12 kB / 0.8375 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.333/1.334, allocations: 146.8 MB / 0.9809 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001247/1.335, allocations: 427.7 kB / 0.9813 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002192/1.337, allocations: 1.193 MB / 0.9825 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.652e-05/1.338, allocations: 0 / 0.9825 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.557e-05/1.338, allocations: 3.938 kB / 0.9825 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001258/1.338, allocations: 19.95 kB / 0.9825 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00118/1.339, allocations: 279.6 kB / 0.9827 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002322/1.339, allocations: 123.8 kB / 0.9829 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/1.339, allocations: 16.17 kB / 0.9829 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/1.34, allocations: 83.86 kB / 0.983 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/1.34, allocations: 71.77 kB / 0.983 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.507e-05/1.34, allocations: 12 kB / 0.983 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/1.34, allocations: 23.98 kB / 0.9831 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.805e-05/1.34, allocations: 11.94 kB / 0.9831 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.699e-05/1.34, allocations: 45.7 kB / 0.9831 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002512/1.34, allocations: 149.9 kB / 0.9833 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/1.34, allocations: 4 kB / 0.9833 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.818e-06/1.34, allocations: 0 / 0.9833 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.122e-05/1.34, allocations: 0 / 0.9833 GB, free: 3.84 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007532/1.341, allocations: 456.2 kB / 0.9837 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.617e-05/1.341, allocations: 11.97 kB / 0.9837 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.406e-05/1.341, allocations: 38.55 kB / 0.9837 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.541e-05/1.341, allocations: 15.91 kB / 0.9838 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/1.342, allocations: 178.8 kB / 0.9839 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/1.342, allocations: 8 kB / 0.9839 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.159e-05/1.342, allocations: 19.98 kB / 0.984 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/1.342, allocations: 57.62 kB / 0.984 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/1.342, allocations: 0 / 0.984 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/1.342, allocations: 0 / 0.984 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/1.342, allocations: 4 kB / 0.984 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.851e-05/1.342, allocations: 19.98 kB / 0.984 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007788/1.343, allocations: 424.5 kB / 0.9844 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.26e-05/1.343, allocations: 30.56 kB / 0.9845 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/1.343, allocations: 0 / 0.9845 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002346/1.343, allocations: 111.3 kB / 0.9846 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/1.343, allocations: 0 / 0.9846 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0004123/1.344, allocations: 133.5 kB / 0.9847 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/1.344, allocations: 59.41 kB / 0.9848 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/1.344, allocations: 134.9 kB / 0.9849 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.578e-05/1.344, allocations: 33.7 kB / 0.9849 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/1.344, allocations: 100 kB / 0.985 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/1.344, allocations: 15.81 kB / 0.985 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/1.344, allocations: 4 kB / 0.985 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001548/1.344, allocations: 326.8 kB / 0.9853 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/1.345, allocations: 83.95 kB / 0.9854 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003102/1.345, allocations: 141.9 kB / 0.9856 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002994/1.345, allocations: 166.6 kB / 0.9857 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.345, allocations: 0 / 0.9857 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008252/1.346, allocations: 374.8 kB / 0.9861 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/1.346, allocations: 105.1 kB / 0.9862 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/1.346, allocations: 4 kB / 0.9862 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/1.346, allocations: 0 / 0.9862 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.346e-05/1.346, allocations: 11.88 kB / 0.9862 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/1.346, allocations: 4 kB / 0.9862 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00079/1.347, allocations: 123.9 kB / 0.9863 GB, free: 400 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.006e-05/1.347, allocations: 19.97 kB / 0.9863 GB, free: 380 kB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.y,$PRE.booPul3.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.000175/1.347, allocations: 129.8 kB / 0.9865 GB, free: 240 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.973e-05/1.347, allocations: 7.906 kB / 0.9865 GB, free: 232 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.679e-05/1.347, allocations: 16.36 kB / 0.9865 GB, free: 212 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/1.347, allocations: 0 / 0.9865 GB, free: 212 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.964e-06/1.347, allocations: 4 kB / 0.9865 GB, free: 208 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/1.347, allocations: 0 / 0.9865 GB, free: 208 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/1.348, allocations: 185.6 kB / 0.9867 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/1.348, allocations: 0 / 0.9867 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.852e-05/1.348, allocations: 11.92 kB / 0.9867 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/1.348, allocations: 0 / 0.9867 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/1.348, allocations: 0 / 0.9867 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/1.348, allocations: 7.938 kB / 0.9867 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.348, allocations: 0 / 0.9867 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/1.348, allocations: 140.9 kB / 0.9868 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.293e-05/1.348, allocations: 88.97 kB / 0.9869 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/1.348, allocations: 0 / 0.9869 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.363e-05/1.348, allocations: 0 / 0.9869 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.318e-05/1.348, allocations: 11.98 kB / 0.9869 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/1.348, allocations: 4 kB / 0.9869 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.79e-05/1.348, allocations: 100.4 kB / 0.987 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/1.348, allocations: 0 / 0.987 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003941/1.349, allocations: 44 kB / 0.9871 GB, free: 15.54 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0006831/1.349, allocations: 0.68 MB / 0.9877 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006517/1.35, allocations: 366 kB / 0.9881 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/1.35, allocations: 0 / 0.9881 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 8.953e-05/1.35, allocations: 40.34 kB / 0.9881 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/1.351, allocations: 35.77 kB / 0.9881 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/1.352, allocations: 1.342 MB / 0.9894 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/1.352, allocations: 0.6965 MB / 0.9901 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.575e-05/1.352, allocations: 8.422 kB / 0.9901 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.238e-05/1.352, allocations: 35.42 kB / 0.9902 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of SimCode: time 3.4e-07/1.352, allocations: 0 / 0.9902 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02073/1.373, allocations: 3.423 MB / 0.9935 GB, free: 8.918 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00024/1.374, allocations: 180.6 kB / 0.9937 GB, free: 8.68 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.179/3.553, allocations: 3.938 kB / 0.9937 GB, free: 8.676 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or3.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat does not exist to compare? outputFormat=mat