Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.And3,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And3",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.001056/0.001056, 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.001361/0.001361, 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.48/1.48, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.601/2.601, allocations: 409.4 MB / 0.684 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003705/0.0003706, allocations: 15.94 kB / 0.8378 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8114/0.8118, allocations: 146.8 MB / 0.9812 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.0008907/0.8128, allocations: 431.7 kB / 0.9816 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.8142, allocations: 1.24 MB / 0.9828 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.538e-05/0.8143, allocations: 0 / 0.9828 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.857e-05/0.8143, allocations: 3.938 kB / 0.9828 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.54e-05/0.8144, allocations: 11.92 kB / 0.9828 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007516/0.8152, allocations: 281.6 kB / 0.9831 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.8154, allocations: 203.6 kB / 0.9833 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.162e-05/0.8155, allocations: 12.17 kB / 0.9833 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.8156, allocations: 91.8 kB / 0.9834 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.8157, allocations: 67.84 kB / 0.9834 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.309e-05/0.8157, allocations: 12 kB / 0.9834 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.409e-05/0.8158, allocations: 27.97 kB / 0.9835 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.655e-05/0.8159, allocations: 11.92 kB / 0.9835 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.268e-05/0.8159, allocations: 49.7 kB / 0.9835 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.8161, allocations: 145.9 kB / 0.9837 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.8161, allocations: 0 / 0.9837 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.087e-06/0.8161, allocations: 0 / 0.9837 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.8162, allocations: 3.938 kB / 0.9837 GB, free: 3.652 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.000506/0.8167, allocations: 460.2 kB / 0.9841 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.8167, allocations: 12.03 kB / 0.9841 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.715e-05/0.8168, allocations: 34.55 kB / 0.9841 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.923e-05/0.8168, allocations: 15.91 kB / 0.9842 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.817, allocations: 180.2 kB / 0.9843 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.817, allocations: 7.938 kB / 0.9843 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.376e-05/0.8171, allocations: 19.98 kB / 0.9844 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.8172, allocations: 57.62 kB / 0.9844 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.8172, allocations: 0 / 0.9844 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.8172, allocations: 0 / 0.9844 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.8173, allocations: 8 kB / 0.9844 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.198e-05/0.8173, allocations: 23.92 kB / 0.9844 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005551/0.8179, allocations: 408.6 kB / 0.9848 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.371e-05/0.8179, allocations: 30.56 kB / 0.9849 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.373e-05/0.818, allocations: 20.84 kB / 0.9849 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.818, allocations: 4 kB / 0.9849 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002174/0.8182, allocations: 107.3 kB / 0.985 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/0.8182, allocations: 3.938 kB / 0.985 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0003016/0.8185, allocations: 133.5 kB / 0.9851 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.8186, allocations: 55.41 kB / 0.9852 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.8187, allocations: 138.9 kB / 0.9853 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/0.8188, allocations: 33.7 kB / 0.9853 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.887e-05/0.8188, allocations: 104.1 kB / 0.9854 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.8189, allocations: 15.81 kB / 0.9854 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.682e-05/0.8189, allocations: 8 kB / 0.9855 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.819, allocations: 322.8 kB / 0.9858 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.8192, allocations: 87.94 kB / 0.9858 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.8194, allocations: 143.2 kB / 0.986 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.8196, allocations: 161.1 kB / 0.9861 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.8196, allocations: 0 / 0.9861 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005448/0.8202, allocations: 372.8 kB / 0.9865 GB, free: 456 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.303e-05/0.8203, allocations: 102.7 kB / 0.9866 GB, free: 336 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.8203, allocations: 4 kB / 0.9866 GB, free: 332 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.8203, allocations: 7.938 kB / 0.9866 GB, free: 324 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.67e-05/0.8203, allocations: 3.984 kB / 0.9866 GB, free: 320 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.8203, allocations: 4 kB / 0.9866 GB, free: 316 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005219/0.8209, allocations: 117.6 kB / 0.9867 GB, free: 200 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/0.8209, allocations: 19.98 kB / 0.9867 GB, free: 180 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,and1.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.0001279/0.8211, allocations: 139.1 kB / 0.9869 GB, free: 32 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.8211, allocations: 7.906 kB / 0.9869 GB, free: 24 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.367e-05/0.8211, allocations: 12.38 kB / 0.9869 GB, free: 8 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.8211, allocations: 3.938 kB / 0.9869 GB, free: 4 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.8211, allocations: 0 / 0.9869 GB, free: 4 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.8211, allocations: 0 / 0.9869 GB, free: 4 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.8213, allocations: 197.6 kB / 0.9871 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.8213, allocations: 0 / 0.9871 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.257e-05/0.8213, allocations: 8 kB / 0.9871 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.8213, allocations: 0 / 0.9871 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.8214, allocations: 3.984 kB / 0.9871 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.8214, allocations: 4 kB / 0.9871 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.8214, allocations: 384 / 0.9871 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.8216, allocations: 136.9 kB / 0.9872 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.612e-05/0.8216, allocations: 88.97 kB / 0.9873 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.8216, allocations: 3.984 kB / 0.9873 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.186e-05/0.8217, allocations: 4 kB / 0.9873 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.8217, allocations: 11.98 kB / 0.9873 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.056e-06/0.8217, allocations: 4 kB / 0.9873 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 5.586e-05/0.8218, allocations: 99.27 kB / 0.9874 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8218, allocations: 0 / 0.9874 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002635/0.8221, allocations: 40 kB / 0.9875 GB, free: 15.33 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,and1.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.0004707/0.8225, allocations: 0.6864 MB / 0.9881 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004468/0.823, allocations: 358.1 kB / 0.9885 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.823, allocations: 4 kB / 0.9885 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.181e-05/0.8231, allocations: 35.92 kB / 0.9885 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.8234, allocations: 34.08 kB / 0.9886 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.8248, allocations: 0.9039 MB / 0.9894 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.825, allocations: 0.6926 MB / 0.9901 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.848e-05/0.8251, allocations: 16.42 kB / 0.9901 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.816e-05/0.8251, allocations: 27.48 kB / 0.9902 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of SimCode: time 3.51e-07/0.8252, allocations: 3.938 kB / 0.9902 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01399/0.8391, allocations: 3.447 MB / 0.9935 GB, free: 9.141 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/0.8394, allocations: 200.5 kB / 0.9937 GB, free: 8.891 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/2.657, allocations: 0 / 0.9937 GB, free: 8.891 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And3.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat does not exist to compare? outputFormat=mat