Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.RealExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",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.001546/0.001546, 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.001958/0.001958, 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.611/2.611, 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.022/5.022, allocations: 409.2 MB / 0.6838 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000602/0.0006023, allocations: 8 kB / 0.8375 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.44/1.44, allocations: 146.8 MB / 0.9809 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001804/1.442, allocations: 0.6862 MB / 0.9816 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003033/1.445, allocations: 1.273 MB / 0.9828 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/1.445, allocations: 7.938 kB / 0.9828 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001582/1.446, allocations: 15.86 kB / 0.9828 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001717/1.446, allocations: 31.94 kB / 0.9828 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009753/1.447, allocations: 229.1 kB / 0.9831 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003322/1.447, allocations: 199.6 kB / 0.9833 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/1.447, allocations: 53.66 kB / 0.9833 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001875/1.448, allocations: 115.6 kB / 0.9834 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/1.448, allocations: 99.58 kB / 0.9835 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.461e-05/1.448, allocations: 16 kB / 0.9835 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/1.448, allocations: 35.95 kB / 0.9836 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.838e-05/1.448, allocations: 39.84 kB / 0.9836 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.602e-05/1.448, allocations: 65.58 kB / 0.9837 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000343/1.448, allocations: 293.5 kB / 0.9839 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.448, allocations: 0 / 0.9839 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.544e-06/1.448, allocations: 3.938 kB / 0.9839 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.981e-06/1.448, allocations: 0 / 0.9839 GB, free: 3.152 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001022/1.449, allocations: 0.5759 MB / 0.9845 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/1.45, allocations: 8.031 kB / 0.9845 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.405e-05/1.45, allocations: 50.55 kB / 0.9846 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.541e-05/1.45, allocations: 31.62 kB / 0.9846 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/1.451, allocations: 382.9 kB / 0.985 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/1.451, allocations: 24 kB / 0.985 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.763e-05/1.451, allocations: 20 kB / 0.985 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000504/1.451, allocations: 217.8 kB / 0.9852 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/1.451, allocations: 3.938 kB / 0.9852 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/1.451, allocations: 8 kB / 0.9852 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/1.451, allocations: 4 kB / 0.9852 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005478/1.452, allocations: 159.8 kB / 0.9854 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001333/1.453, allocations: 0.9266 MB / 0.9863 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000372/1.454, allocations: 168.9 kB / 0.9864 GB, free: 364 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/1.454, allocations: 4.062 kB / 0.9864 GB, free: 360 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004594/1.454, allocations: 187.5 kB / 0.9866 GB, free: 144 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 2.274e-06/1.454, allocations: 0 / 0.9866 GB, free: 144 kB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.00105/1.455, allocations: 293.8 kB / 0.9869 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/1.455, allocations: 166.2 kB / 0.9871 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/1.456, allocations: 217 kB / 0.9873 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.05e-05/1.456, allocations: 33.7 kB / 0.9873 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/1.456, allocations: 148.2 kB / 0.9874 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/1.456, allocations: 31.55 kB / 0.9875 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/1.456, allocations: 12.06 kB / 0.9875 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001531/1.456, allocations: 326.8 kB / 0.9878 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003892/1.457, allocations: 115.9 kB / 0.9879 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004645/1.457, allocations: 188.4 kB / 0.9881 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006302/1.458, allocations: 175.3 kB / 0.9883 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/1.458, allocations: 0 / 0.9883 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001497/1.459, allocations: 400.8 kB / 0.9886 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001117/1.459, allocations: 67.39 kB / 0.9887 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/1.459, allocations: 7.984 kB / 0.9887 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/1.459, allocations: 3.984 kB / 0.9887 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/1.46, allocations: 31.97 kB / 0.9887 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.021e-05/1.46, allocations: 7.938 kB / 0.9888 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008958/1.461, allocations: 119.8 kB / 0.9889 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/1.461, allocations: 12 kB / 0.9889 GB, free: 13.68 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.pul1.booPul.y,pul1.booPul.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): 11 * 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.0003643/1.461, allocations: 151.4 kB / 0.989 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.439e-05/1.461, allocations: 23.77 kB / 0.989 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.642e-05/1.461, allocations: 21.23 kB / 0.9891 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/1.461, allocations: 4 kB / 0.9891 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/1.461, allocations: 4 kB / 0.9891 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/1.461, allocations: 11.83 kB / 0.9891 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004776/1.462, allocations: 249.6 kB / 0.9893 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/1.462, allocations: 3.984 kB / 0.9893 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/1.462, allocations: 31.92 kB / 0.9894 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.087e-05/1.462, allocations: 3.953 kB / 0.9894 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/1.462, allocations: 7.984 kB / 0.9894 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/1.462, allocations: 4 kB / 0.9894 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-05/1.462, allocations: 4 kB / 0.9894 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/1.463, allocations: 310.9 kB / 0.9897 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/1.463, allocations: 88.92 kB / 0.9898 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.353e-05/1.463, allocations: 4 kB / 0.9898 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/1.464, allocations: 27.97 kB / 0.9898 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.949e-05/1.464, allocations: 19.94 kB / 0.9898 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/1.464, allocations: 4 kB / 0.9898 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002271/1.464, allocations: 160.5 kB / 0.99 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.324e-06/1.464, allocations: 0 / 0.99 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000447/1.464, allocations: 59.77 kB / 0.99 GB, free: 12.38 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.001268/1.466, allocations: 1.128 MB / 0.9911 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001321/1.467, allocations: 362.5 kB / 0.9915 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.467, allocations: 448 / 0.9915 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003339/1.467, allocations: 95.86 kB / 0.9916 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004647/1.468, allocations: 44.53 kB / 0.9916 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/1.47, allocations: 1.908 MB / 0.9935 GB, free: 8.672 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006283/1.471, allocations: 0.7556 MB / 0.9942 GB, free: 7.891 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002232/1.471, allocations: 37.89 kB / 0.9942 GB, free: 7.855 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/1.471, allocations: 63.42 kB / 0.9943 GB, free: 7.793 MB / 0.7481 GB Notification: Performance of SimCode: time 1.383e-06/1.471, allocations: 0 / 0.9943 GB, free: 7.793 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02857/1.5, allocations: 4.749 MB / 0.9989 GB, free: 3.266 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003872/1.5, allocations: 213.9 kB / 0.9991 GB, free: 3.016 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.08/4.58, allocations: 0 / 0.9991 GB, free: 3.016 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat does not exist to compare? outputFormat=mat