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.001029/0.001029, allocations: 94.03 kB / 15.06 MB, free: 1.086 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.001224/0.001224, 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.487/1.487, allocations: 223.2 MB / 240 MB, free: 5.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.578/2.578, allocations: 409.4 MB / 0.684 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003957/0.0003958, allocations: 8 kB / 0.8378 GB, free: 6.438 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8095/0.8099, allocations: 146.8 MB / 0.9812 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001055/0.811, allocations: 431.6 kB / 0.9816 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00176/0.8128, allocations: 1.236 MB / 0.9828 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.028e-05/0.8129, allocations: 0 / 0.9828 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.754e-05/0.8129, allocations: 7.938 kB / 0.9828 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.39e-05/0.813, allocations: 15.84 kB / 0.9828 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008273/0.8139, allocations: 277.5 kB / 0.9831 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002451/0.8141, allocations: 199.6 kB / 0.9832 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.8142, allocations: 12.17 kB / 0.9833 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.8144, allocations: 87.8 kB / 0.9833 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.8145, allocations: 63.84 kB / 0.9834 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/0.8145, allocations: 15.94 kB / 0.9834 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.553e-05/0.8146, allocations: 27.92 kB / 0.9834 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.12e-05/0.8147, allocations: 15.97 kB / 0.9835 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.759e-05/0.8147, allocations: 53.64 kB / 0.9835 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.815, allocations: 145.9 kB / 0.9837 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.815, allocations: 4 kB / 0.9837 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.375e-06/0.815, allocations: 0 / 0.9837 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.815, allocations: 0 / 0.9837 GB, free: 3.637 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.0006195/0.8156, allocations: 456.2 kB / 0.9841 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.8157, allocations: 12.02 kB / 0.9841 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.018e-05/0.8157, allocations: 34.56 kB / 0.9841 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.573e-05/0.8158, allocations: 19.84 kB / 0.9842 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.8159, allocations: 170.9 kB / 0.9843 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.8159, allocations: 15.98 kB / 0.9843 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.103e-05/0.816, allocations: 16 kB / 0.9843 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.8161, allocations: 61.55 kB / 0.9844 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.8161, allocations: 3.984 kB / 0.9844 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.8162, allocations: 12 kB / 0.9844 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.8162, allocations: 0 / 0.9844 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.202e-05/0.8162, allocations: 15.98 kB / 0.9844 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005587/0.8168, allocations: 412.6 kB / 0.9848 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.14e-05/0.8169, allocations: 34.5 kB / 0.9849 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.69e-05/0.8169, allocations: 24.94 kB / 0.9849 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.8169, allocations: 4 kB / 0.9849 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.8171, allocations: 95.25 kB / 0.985 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.8171, allocations: 4 kB / 0.985 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0002835/0.8174, allocations: 133.5 kB / 0.9851 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.8175, allocations: 55.39 kB / 0.9852 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.8176, allocations: 139.4 kB / 0.9853 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.8176, allocations: 33.7 kB / 0.9853 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.834e-05/0.8177, allocations: 100.1 kB / 0.9854 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.8177, allocations: 19.8 kB / 0.9854 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.703e-05/0.8178, allocations: 8 kB / 0.9855 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.8179, allocations: 326.8 kB / 0.9858 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.8181, allocations: 87.94 kB / 0.9858 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.8183, allocations: 139.1 kB / 0.986 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.8185, allocations: 165.1 kB / 0.9861 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.8185, allocations: 4 kB / 0.9861 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005435/0.819, allocations: 370.4 kB / 0.9865 GB, free: 432 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.822e-05/0.8191, allocations: 101.5 kB / 0.9866 GB, free: 312 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.8191, allocations: 0 / 0.9866 GB, free: 312 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.8192, allocations: 4 kB / 0.9866 GB, free: 308 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.59e-05/0.8192, allocations: 4 kB / 0.9866 GB, free: 304 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.8192, allocations: 8.125 kB / 0.9866 GB, free: 296 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005314/0.8197, allocations: 121.3 kB / 0.9867 GB, free: 176 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.096e-05/0.8198, allocations: 15.98 kB / 0.9867 GB, free: 160 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.0001142/0.8199, allocations: 133.7 kB / 0.9869 GB, free: 16 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.8199, allocations: 11.91 kB / 0.9869 GB, free: 4 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.719e-05/0.82, allocations: 12.38 kB / 0.9869 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.82, allocations: 0 / 0.9869 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.82, allocations: 0 / 0.9869 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.82, allocations: 3.984 kB / 0.9869 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.8202, allocations: 193.6 kB / 0.9871 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.8202, allocations: 0 / 0.9871 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-05/0.8202, allocations: 0 / 0.9871 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.8202, allocations: 0 / 0.9871 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.8202, allocations: 11.98 kB / 0.9871 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.8202, allocations: 0 / 0.9871 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.8203, allocations: 7.938 kB / 0.9871 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.8204, allocations: 125 kB / 0.9872 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/0.8205, allocations: 92.95 kB / 0.9873 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.8205, allocations: 0 / 0.9873 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.523e-05/0.8205, allocations: 7.938 kB / 0.9873 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.8206, allocations: 11.98 kB / 0.9873 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.8206, allocations: 8 kB / 0.9873 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 5.994e-05/0.8207, allocations: 99.27 kB / 0.9874 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8207, allocations: 0 / 0.9874 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002773/0.821, allocations: 47.98 kB / 0.9875 GB, free: 15.3 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.0005045/0.8215, allocations: 0.6827 MB / 0.9881 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004543/0.8219, allocations: 370 kB / 0.9885 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.822, allocations: 0 / 0.9885 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.962e-05/0.822, allocations: 36 kB / 0.9885 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.8223, allocations: 28.66 kB / 0.9886 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.8238, allocations: 0.9039 MB / 0.9894 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.824, allocations: 0.6926 MB / 0.9901 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.198e-05/0.8241, allocations: 12.41 kB / 0.9901 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.8241, allocations: 23.5 kB / 0.9901 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of SimCode: time 3.5e-07/0.8241, allocations: 0 / 0.9901 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01663/0.8408, allocations: 3.462 MB / 0.9935 GB, free: 9.109 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002366/0.8411, allocations: 192.7 kB / 0.9937 GB, free: 8.871 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.652, allocations: 0 / 0.9937 GB, free: 8.871 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