Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.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.Xor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",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.001184/0.001184, 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.00157/0.00157, 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.458/1.458, allocations: 223.2 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.61/2.61, allocations: 409.4 MB / 0.684 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003437, allocations: 12 kB / 0.8378 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8187/0.819, allocations: 146.8 MB / 0.9811 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.0009257/0.82, allocations: 399.7 kB / 0.9815 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001532/0.8216, allocations: 1.154 MB / 0.9827 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.355e-05/0.8217, allocations: 0 / 0.9827 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.019e-05/0.8217, allocations: 3.938 kB / 0.9827 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.428e-05/0.8218, allocations: 11.92 kB / 0.9827 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006982/0.8225, allocations: 196.8 kB / 0.9829 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.8227, allocations: 131.8 kB / 0.983 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.128e-05/0.8228, allocations: 8 kB / 0.983 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.8229, allocations: 59.88 kB / 0.983 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.914e-05/0.823, allocations: 47.88 kB / 0.9831 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.839e-05/0.823, allocations: 11.94 kB / 0.9831 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.702e-05/0.8231, allocations: 23.98 kB / 0.9831 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.8231, allocations: 7.984 kB / 0.9831 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.952e-05/0.8232, allocations: 45.7 kB / 0.9832 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.8233, allocations: 105.9 kB / 0.9833 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.8234, allocations: 0 / 0.9833 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8234, allocations: 3.938 kB / 0.9833 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.8234, allocations: 0 / 0.9833 GB, free: 4.051 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.0004806/0.8239, allocations: 414.6 kB / 0.9837 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.8239, allocations: 12.03 kB / 0.9837 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.956e-05/0.824, allocations: 30.56 kB / 0.9837 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.035e-05/0.824, allocations: 8 kB / 0.9837 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.8242, allocations: 171 kB / 0.9839 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.8242, allocations: 12 kB / 0.9839 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/0.8242, allocations: 12 kB / 0.9839 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.8244, allocations: 45.64 kB / 0.984 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.8244, allocations: 0 / 0.984 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.8244, allocations: 7.969 kB / 0.984 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.8244, allocations: 4 kB / 0.984 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.642e-05/0.8245, allocations: 19.94 kB / 0.984 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004995/0.825, allocations: 352.7 kB / 0.9843 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.836e-05/0.8251, allocations: 38.52 kB / 0.9844 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.073e-05/0.8251, allocations: 16.86 kB / 0.9844 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.8251, allocations: 0 / 0.9844 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/0.8253, allocations: 87.39 kB / 0.9845 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.8253, allocations: 0 / 0.9845 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003352/0.8257, allocations: 109.6 kB / 0.9846 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.053e-05/0.8258, allocations: 51.41 kB / 0.9846 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.8259, allocations: 118 kB / 0.9847 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.351e-05/0.8259, allocations: 37.69 kB / 0.9848 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.285e-05/0.826, allocations: 96.23 kB / 0.9849 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.826, allocations: 3.906 kB / 0.9849 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.8261, allocations: 8.375 kB / 0.9849 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.8263, allocations: 318.8 kB / 0.9852 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.8264, allocations: 59.97 kB / 0.9852 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.8266, allocations: 100.2 kB / 0.9853 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.8267, allocations: 115.3 kB / 0.9854 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.8267, allocations: 0 / 0.9854 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004165/0.8272, allocations: 264.8 kB / 0.9857 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.113e-05/0.8272, allocations: 71.39 kB / 0.9858 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.8272, allocations: 0 / 0.9858 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.8273, allocations: 0 / 0.9858 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.548e-05/0.8273, allocations: 7.938 kB / 0.9858 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.8273, allocations: 64 / 0.9858 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003856/0.8277, allocations: 91.89 kB / 0.9858 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/0.8277, allocations: 8 kB / 0.9859 GB, free: 1.117 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,xor1.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.0001124/0.8278, allocations: 122.8 kB / 0.986 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.8279, allocations: 11.95 kB / 0.986 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.903e-05/0.8279, allocations: 12.38 kB / 0.986 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.8279, allocations: 0 / 0.986 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.8279, allocations: 0 / 0.986 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.8279, allocations: 0 / 0.986 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.8281, allocations: 185.5 kB / 0.9862 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.8281, allocations: 0 / 0.9862 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.042e-05/0.8281, allocations: 3.938 kB / 0.9862 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.8281, allocations: 7.953 kB / 0.9862 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.8281, allocations: 0 / 0.9862 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.8281, allocations: 0 / 0.9862 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.8282, allocations: 4 kB / 0.9862 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.8283, allocations: 105.1 kB / 0.9863 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.11e-05/0.8284, allocations: 81.02 kB / 0.9864 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.8284, allocations: 11.94 kB / 0.9864 GB, free: 496 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.96e-05/0.8284, allocations: 0 / 0.9864 GB, free: 496 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.8285, allocations: 11.98 kB / 0.9864 GB, free: 484 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.8285, allocations: 0 / 0.9864 GB, free: 484 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.769e-05/0.8286, allocations: 99.3 kB / 0.9865 GB, free: 384 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8286, allocations: 3.938 kB / 0.9865 GB, free: 380 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002356/0.8288, allocations: 28 kB / 0.9865 GB, free: 352 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,xor1.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.0005017/0.8293, allocations: 0.6479 MB / 0.9871 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003403/0.8297, allocations: 250.8 kB / 0.9874 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8297, allocations: 7.938 kB / 0.9874 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 5.098e-05/0.8297, allocations: 31.92 kB / 0.9874 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.83, allocations: 15.94 kB / 0.9874 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.8311, allocations: 0.7027 MB / 0.9881 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.8313, allocations: 0.6848 MB / 0.9888 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.02e-05/0.8314, allocations: 11.98 kB / 0.9888 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.8314, allocations: 15.44 kB / 0.9888 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of SimCode: time 3.91e-07/0.8314, allocations: 0 / 0.9888 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0127/0.8441, allocations: 2.605 MB / 0.9914 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/0.8443, allocations: 191.2 kB / 0.9915 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/2.605, allocations: 0 / 0.9915 GB, free: 11.15 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat does not exist to compare? outputFormat=mat