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.001097/0.001097, allocations: 91.06 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.001575/0.001575, 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.468/1.468, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.707/2.707, allocations: 409.4 MB / 0.684 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004642/0.0004644, allocations: 8 kB / 0.8378 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8053/0.8058, allocations: 146.8 MB / 0.9812 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.0009732/0.8069, allocations: 435.6 kB / 0.9816 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001849/0.8087, allocations: 1.213 MB / 0.9828 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.183e-05/0.8088, allocations: 4 kB / 0.9828 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.809, allocations: 11.92 kB / 0.9828 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.998e-05/0.809, allocations: 19.8 kB / 0.9828 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007876/0.8098, allocations: 209.5 kB / 0.983 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000269/0.8101, allocations: 195.6 kB / 0.9832 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.8102, allocations: 31.98 kB / 0.9832 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.8104, allocations: 91.8 kB / 0.9833 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002626/0.8107, allocations: 87.77 kB / 0.9834 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.822e-05/0.8108, allocations: 12 kB / 0.9834 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.599e-05/0.8109, allocations: 15.98 kB / 0.9834 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.394e-05/0.8109, allocations: 31.91 kB / 0.9834 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.206e-05/0.811, allocations: 53.64 kB / 0.9835 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.8112, allocations: 145.9 kB / 0.9836 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.8112, allocations: 7.938 kB / 0.9836 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.973e-06/0.8112, allocations: 0 / 0.9836 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.8113, allocations: 0 / 0.9836 GB, free: 3.73 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.00053/0.8118, allocations: 462.2 kB / 0.9841 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.8118, allocations: 8.031 kB / 0.9841 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.338e-05/0.8119, allocations: 42.55 kB / 0.9841 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.227e-05/0.812, allocations: 19.81 kB / 0.9841 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006116/0.8126, allocations: 260.1 kB / 0.9844 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.8126, allocations: 19.94 kB / 0.9844 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.8127, allocations: 19.94 kB / 0.9844 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.8129, allocations: 130 kB / 0.9845 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.8129, allocations: 0 / 0.9845 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.8129, allocations: 4 kB / 0.9845 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.813, allocations: 0 / 0.9845 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.922e-05/0.8131, allocations: 51.91 kB / 0.9846 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007145/0.8138, allocations: 0.6688 MB / 0.9853 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.695e-05/0.8139, allocations: 41.09 kB / 0.9853 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.254e-05/0.8139, allocations: 13.84 kB / 0.9853 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/0.8139, allocations: 3.984 kB / 0.9853 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001967/0.8141, allocations: 100.9 kB / 0.9854 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.8141, allocations: 0 / 0.9854 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0002493/0.8144, allocations: 97.52 kB / 0.9855 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.8144, allocations: 85.09 kB / 0.9856 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.8146, allocations: 177.6 kB / 0.9857 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.8147, allocations: 29.7 kB / 0.9858 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.8148, allocations: 115.9 kB / 0.9859 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.8148, allocations: 23.78 kB / 0.9859 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.78e-05/0.8148, allocations: 4 kB / 0.9859 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.815, allocations: 326.8 kB / 0.9862 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.8151, allocations: 51.97 kB / 0.9863 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.8152, allocations: 102.8 kB / 0.9864 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.8154, allocations: 111.4 kB / 0.9865 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.8154, allocations: 0 / 0.9865 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004111/0.8158, allocations: 268.7 kB / 0.9867 GB, free: 216 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.415e-05/0.8159, allocations: 67.39 kB / 0.9868 GB, free: 136 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.8159, allocations: 0 / 0.9868 GB, free: 136 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.8159, allocations: 4 kB / 0.9868 GB, free: 132 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.43e-05/0.8159, allocations: 8 kB / 0.9868 GB, free: 124 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.816, allocations: 3.984 kB / 0.9868 GB, free: 120 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003217/0.8163, allocations: 76.05 kB / 0.9869 GB, free: 44 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.8163, allocations: 11.98 kB / 0.9869 GB, free: 32 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.000145/0.8165, allocations: 147.3 kB / 0.987 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.8165, allocations: 11.91 kB / 0.9871 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.308e-05/0.8165, allocations: 12.23 kB / 0.9871 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.8165, allocations: 4 kB / 0.9871 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.8166, allocations: 0 / 0.9871 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.8166, allocations: 0 / 0.9871 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.8168, allocations: 209.6 kB / 0.9873 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.8168, allocations: 0 / 0.9873 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.245e-06/0.8168, allocations: 96 / 0.9873 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.8168, allocations: 3.938 kB / 0.9873 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.8168, allocations: 12 kB / 0.9873 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.8168, allocations: 0 / 0.9873 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.8168, allocations: 0 / 0.9873 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.817, allocations: 117.8 kB / 0.9874 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.923e-05/0.817, allocations: 88.91 kB / 0.9875 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.8171, allocations: 8 kB / 0.9875 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.151e-05/0.8171, allocations: 384 / 0.9875 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.8171, allocations: 8 kB / 0.9875 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-06/0.8171, allocations: 3.984 kB / 0.9875 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.513e-05/0.8172, allocations: 119.9 kB / 0.9876 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8172, allocations: 0 / 0.9876 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002501/0.8175, allocations: 31.94 kB / 0.9876 GB, free: 15.17 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.00047/0.818, allocations: 0.6678 MB / 0.9883 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003263/0.8183, allocations: 230.7 kB / 0.9885 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.8183, allocations: 0 / 0.9885 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 4.434e-05/0.8184, allocations: 23.92 kB / 0.9885 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.8186, allocations: 20.48 kB / 0.9886 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.82, allocations: 0.8936 MB / 0.9894 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.8203, allocations: 0.7041 MB / 0.9901 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.577e-05/0.8204, allocations: 12.88 kB / 0.9901 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.634e-05/0.8205, allocations: 43.42 kB / 0.9902 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of SimCode: time 3.21e-07/0.8205, allocations: 0 / 0.9902 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01405/0.8345, allocations: 3.141 MB / 0.9932 GB, free: 9.484 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/0.8347, allocations: 203 kB / 0.9934 GB, free: 9.25 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.855/2.69, allocations: 4.062 kB / 0.9934 GB, free: 9.246 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