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.001102/0.001102, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001586/0.001586, allocations: 172.7 kB / 15.95 MB, free: 208 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.641/1.641, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.612/2.612, allocations: 409.4 MB / 0.684 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.000374, allocations: 11.98 kB / 0.8378 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8025/0.8029, allocations: 146.8 MB / 0.9812 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.0008837/0.8039, allocations: 387.8 kB / 0.9815 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001548/0.8054, allocations: 1.158 MB / 0.9827 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.14e-05/0.8055, allocations: 0 / 0.9827 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.566e-05/0.8055, allocations: 3.938 kB / 0.9827 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.579e-05/0.8056, allocations: 11.92 kB / 0.9827 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006006/0.8062, allocations: 197.3 kB / 0.9829 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.8064, allocations: 131.7 kB / 0.983 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.351e-05/0.8065, allocations: 8 kB / 0.983 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.015e-05/0.8066, allocations: 59.88 kB / 0.983 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.8067, allocations: 43.88 kB / 0.9831 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.8067, allocations: 16 kB / 0.9831 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.199e-05/0.8068, allocations: 23.97 kB / 0.9831 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.837e-05/0.8068, allocations: 15.88 kB / 0.9831 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.812e-05/0.8069, allocations: 41.69 kB / 0.9832 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.807, allocations: 98.02 kB / 0.9833 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.807, allocations: 0 / 0.9833 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.903e-06/0.8071, allocations: 0 / 0.9833 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.8071, allocations: 0 / 0.9833 GB, free: 4.047 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.0006723/0.8077, allocations: 410.6 kB / 0.9837 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.8078, allocations: 8.031 kB / 0.9837 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.374e-05/0.8079, allocations: 38.55 kB / 0.9837 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.797e-05/0.8079, allocations: 12 kB / 0.9837 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.8081, allocations: 171 kB / 0.9839 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.8081, allocations: 4 kB / 0.9839 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.978e-05/0.8081, allocations: 8 kB / 0.9839 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.8083, allocations: 57.62 kB / 0.984 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.8083, allocations: 0 / 0.984 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.8083, allocations: 0 / 0.984 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.8083, allocations: 0 / 0.984 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.867e-05/0.8084, allocations: 15.98 kB / 0.984 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005375/0.8089, allocations: 356.7 kB / 0.9843 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.157e-05/0.809, allocations: 34.53 kB / 0.9843 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.416e-05/0.8091, allocations: 16.95 kB / 0.9844 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.8091, allocations: 3.984 kB / 0.9844 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001949/0.8093, allocations: 83.38 kB / 0.9844 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.8093, allocations: 0 / 0.9844 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0002719/0.8096, allocations: 113.5 kB / 0.9845 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.8096, allocations: 59.34 kB / 0.9846 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.8097, allocations: 114 kB / 0.9847 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.8098, allocations: 33.69 kB / 0.9847 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.087e-05/0.8099, allocations: 92.61 kB / 0.9848 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.8099, allocations: 11.91 kB / 0.9848 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.719e-05/0.8099, allocations: 8 kB / 0.9849 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002101/0.8101, allocations: 318.8 kB / 0.9852 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.8103, allocations: 63.91 kB / 0.9852 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.8104, allocations: 92.19 kB / 0.9853 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.8106, allocations: 115.4 kB / 0.9854 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.8106, allocations: 0 / 0.9854 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004084/0.811, allocations: 264.7 kB / 0.9857 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.862e-05/0.8111, allocations: 71.39 kB / 0.9857 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.8111, allocations: 0 / 0.9857 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.8111, allocations: 0 / 0.9857 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.199e-05/0.8111, allocations: 8 kB / 0.9857 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.8111, allocations: 0 / 0.9857 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003732/0.8115, allocations: 83.84 kB / 0.9858 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.8116, allocations: 11.98 kB / 0.9858 GB, free: 1.125 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.0001074/0.8117, allocations: 127.5 kB / 0.986 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.8117, allocations: 12 kB / 0.986 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.8117, allocations: 12.38 kB / 0.986 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.8118, allocations: 0 / 0.986 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.8118, allocations: 0 / 0.986 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.8118, allocations: 0 / 0.986 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.8119, allocations: 177.6 kB / 0.9861 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.8119, allocations: 3.984 kB / 0.9862 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.458e-06/0.8119, allocations: 0 / 0.9862 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.812, allocations: 11.95 kB / 0.9862 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.812, allocations: 0 / 0.9862 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.812, allocations: 0 / 0.9862 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.812, allocations: 0 / 0.9862 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.8121, allocations: 109 kB / 0.9863 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.705e-05/0.8122, allocations: 81.02 kB / 0.9863 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.8122, allocations: 3.953 kB / 0.9863 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.813e-05/0.8122, allocations: 7.938 kB / 0.9864 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.8123, allocations: 8.078 kB / 0.9864 GB, free: 496 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.8123, allocations: 11.94 kB / 0.9864 GB, free: 484 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.284e-05/0.8124, allocations: 87.27 kB / 0.9865 GB, free: 396 kB / 0.7325 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8124, allocations: 0 / 0.9865 GB, free: 396 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002356/0.8126, allocations: 32 kB / 0.9865 GB, free: 364 kB / 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.0006058/0.8132, allocations: 0.6514 MB / 0.9871 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003178/0.8135, allocations: 246.7 kB / 0.9874 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.8136, allocations: 0 / 0.9874 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 4.524e-05/0.8136, allocations: 24 kB / 0.9874 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.8138, allocations: 19.94 kB / 0.9874 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.815, allocations: 0.6974 MB / 0.9881 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.8152, allocations: 0.6901 MB / 0.9888 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.301e-05/0.8153, allocations: 4 kB / 0.9888 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.8153, allocations: 15.44 kB / 0.9888 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of SimCode: time 3.1e-07/0.8153, allocations: 4 kB / 0.9888 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01253/0.8279, allocations: 2.592 MB / 0.9913 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001662/0.8281, allocations: 182.2 kB / 0.9915 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/2.597, allocations: 0 / 0.9915 GB, free: 11.2 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