Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",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.002153/0.002153, allocations: 99.86 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.003066/0.003066, allocations: 177.3 kB / 15.94 MB, free: 228 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.97/2.97, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.236/5.236, allocations: 409.2 MB / 0.6838 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006433/0.0006434, allocations: 8 kB / 0.8375 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.515/1.515, allocations: 146.8 MB / 0.9809 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.00144/1.517, allocations: 435.6 kB / 0.9813 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002536/1.519, allocations: 1.185 MB / 0.9824 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.629e-05/1.52, allocations: 4 kB / 0.9825 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001341/1.52, allocations: 7.875 kB / 0.9825 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.309e-05/1.52, allocations: 23.95 kB / 0.9825 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001127/1.521, allocations: 212.9 kB / 0.9827 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002888/1.521, allocations: 127.8 kB / 0.9828 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/1.521, allocations: 27.98 kB / 0.9828 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/1.522, allocations: 87.8 kB / 0.9829 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/1.522, allocations: 51.86 kB / 0.983 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.851e-05/1.522, allocations: 15.94 kB / 0.983 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/1.522, allocations: 27.92 kB / 0.983 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.095e-05/1.522, allocations: 39.89 kB / 0.983 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.166e-05/1.522, allocations: 45.64 kB / 0.9831 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003283/1.522, allocations: 158 kB / 0.9832 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.523, allocations: 0 / 0.9832 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.817e-06/1.523, allocations: 4 kB / 0.9832 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.644e-06/1.523, allocations: 0 / 0.9832 GB, free: 4.078 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008569/1.523, allocations: 470.2 kB / 0.9837 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.221e-05/1.523, allocations: 8.031 kB / 0.9837 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.296e-05/1.524, allocations: 42.55 kB / 0.9837 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.424e-05/1.524, allocations: 23.81 kB / 0.9838 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009169/1.525, allocations: 258.6 kB / 0.984 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.735e-05/1.525, allocations: 19.94 kB / 0.984 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.58e-05/1.525, allocations: 12 kB / 0.984 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000339/1.525, allocations: 121.1 kB / 0.9842 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/1.525, allocations: 8 kB / 0.9842 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/1.525, allocations: 4 kB / 0.9842 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/1.525, allocations: 4 kB / 0.9842 GB, free: 3 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/1.525, allocations: 47.91 kB / 0.9842 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/1.527, allocations: 0.6805 MB / 0.9849 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/1.527, allocations: 41.2 kB / 0.9849 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/1.527, allocations: 3.984 kB / 0.9849 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002748/1.527, allocations: 97 kB / 0.985 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 2.345e-06/1.527, allocations: 0 / 0.985 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.000429/1.527, allocations: 97.52 kB / 0.9851 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.417e-05/1.528, allocations: 77.11 kB / 0.9852 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/1.528, allocations: 173.6 kB / 0.9853 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.701e-05/1.528, allocations: 33.7 kB / 0.9854 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/1.528, allocations: 119.9 kB / 0.9855 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/1.528, allocations: 27.78 kB / 0.9855 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/1.528, allocations: 4 kB / 0.9855 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001894/1.528, allocations: 322.8 kB / 0.9858 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/1.528, allocations: 51.97 kB / 0.9859 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002653/1.529, allocations: 124.5 kB / 0.986 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/1.529, allocations: 103.4 kB / 0.9861 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/1.529, allocations: 4 kB / 0.9861 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006129/1.53, allocations: 268.9 kB / 0.9864 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/1.53, allocations: 59.41 kB / 0.9864 GB, free: 488 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/1.53, allocations: 4 kB / 0.9864 GB, free: 484 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.423e-05/1.53, allocations: 11.92 kB / 0.9864 GB, free: 472 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.647e-05/1.53, allocations: 0 / 0.9864 GB, free: 472 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.842e-05/1.53, allocations: 7.938 kB / 0.9864 GB, free: 464 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006696/1.531, allocations: 93.58 kB / 0.9865 GB, free: 372 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.875e-05/1.531, allocations: 19.98 kB / 0.9865 GB, free: 352 kB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$PRE.booPul1.y,booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * 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.0002242/1.531, allocations: 137.8 kB / 0.9867 GB, free: 204 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/1.531, allocations: 11.91 kB / 0.9867 GB, free: 192 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.339e-05/1.531, allocations: 8.25 kB / 0.9867 GB, free: 184 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/1.531, allocations: 4 kB / 0.9867 GB, free: 180 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/1.531, allocations: 0 / 0.9867 GB, free: 180 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.17e-05/1.531, allocations: 4 kB / 0.9867 GB, free: 176 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002864/1.531, allocations: 205.7 kB / 0.9869 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/1.531, allocations: 4 kB / 0.9869 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.363e-05/1.531, allocations: 7.922 kB / 0.9869 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/1.531, allocations: 0 / 0.9869 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/1.531, allocations: 4 kB / 0.9869 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/1.531, allocations: 4 kB / 0.9869 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/1.531, allocations: 0 / 0.9869 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/1.532, allocations: 127.9 kB / 0.987 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.653e-05/1.532, allocations: 88.92 kB / 0.9871 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/1.532, allocations: 4 kB / 0.9871 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.351e-05/1.532, allocations: 0 / 0.9871 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/1.532, allocations: 11.97 kB / 0.9871 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/1.532, allocations: 8 kB / 0.9872 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001393/1.532, allocations: 115.9 kB / 0.9873 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/1.532, allocations: 0 / 0.9873 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004356/1.532, allocations: 39.94 kB / 0.9873 GB, free: 15.46 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0007143/1.533, allocations: 0.7499 MB / 0.988 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004933/1.534, allocations: 234.6 kB / 0.9883 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.534, allocations: 0 / 0.9883 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.45e-05/1.534, allocations: 27.91 kB / 0.9883 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/1.534, allocations: 20.48 kB / 0.9883 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/1.536, allocations: 1.566 MB / 0.9898 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/1.536, allocations: 0.7199 MB / 0.9905 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.023e-05/1.536, allocations: 16.88 kB / 0.9906 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.108e-05/1.536, allocations: 35.42 kB / 0.9906 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of SimCode: time 2.154e-06/1.536, allocations: 0 / 0.9906 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02645/1.563, allocations: 3.208 MB / 0.9937 GB, free: 8.926 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004528/1.563, allocations: 206.6 kB / 0.9939 GB, free: 8.688 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.165/4.728, allocations: 0 / 0.9939 GB, free: 8.688 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat does not exist to compare? outputFormat=mat