Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_NumberOfRequests",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.0008411/0.0008412, allocations: 91.61 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.0008339/0.000834, 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.448/1.448, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.489/2.489, allocations: 409.4 MB / 0.684 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003554, allocations: 12 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7963/0.7966, allocations: 146.8 MB / 0.9812 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests): time 0.001056/0.7978, allocations: 0.5148 MB / 0.9817 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009342/0.7987, allocations: 0.8547 MB / 0.9825 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.845e-05/0.7988, allocations: 4 kB / 0.9825 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.623e-05/0.7989, allocations: 11.92 kB / 0.9825 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.572e-05/0.7989, allocations: 11.88 kB / 0.9825 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001106/0.799, allocations: 27.95 kB / 0.9826 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.7992, allocations: 107.7 kB / 0.9827 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.7993, allocations: 23.98 kB / 0.9827 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.971e-05/0.7994, allocations: 47.83 kB / 0.9827 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.35e-05/0.7995, allocations: 43.83 kB / 0.9828 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.7995, allocations: 7.984 kB / 0.9828 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.767e-05/0.7996, allocations: 8 kB / 0.9828 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.218e-05/0.7996, allocations: 23.91 kB / 0.9828 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.386e-05/0.7997, allocations: 41.64 kB / 0.9828 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.7998, allocations: 78.06 kB / 0.9829 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.7998, allocations: 4 kB / 0.9829 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.597e-06/0.7998, allocations: 4 kB / 0.9829 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.7998, allocations: 0 / 0.9829 GB, free: 4.434 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008003/0.8006, allocations: 492.5 kB / 0.9834 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.8007, allocations: 12.03 kB / 0.9834 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.712e-05/0.8007, allocations: 38.55 kB / 0.9834 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.968e-05/0.8008, allocations: 7.906 kB / 0.9835 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.801, allocations: 204.2 kB / 0.9836 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.801, allocations: 8 kB / 0.9837 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.801, allocations: 8 kB / 0.9837 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005108/0.8016, allocations: 213.5 kB / 0.9839 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.8016, allocations: 0 / 0.9839 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.8016, allocations: 4 kB / 0.9839 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.8016, allocations: 0 / 0.9839 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006779/0.8023, allocations: 263.8 kB / 0.9841 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007502/0.803, allocations: 432.5 kB / 0.9845 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004311/0.8035, allocations: 206.5 kB / 0.9847 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003982/0.8039, allocations: 184.9 kB / 0.9849 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.8039, allocations: 0 / 0.9849 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.804, allocations: 34.61 kB / 0.9849 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.804, allocations: 7.938 kB / 0.9849 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.001327/0.8053, allocations: 0.5302 MB / 0.9855 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/0.8054, allocations: 89.09 kB / 0.9855 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.8055, allocations: 140.4 kB / 0.9857 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.8055, allocations: 37.7 kB / 0.9857 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.279e-05/0.8056, allocations: 96.12 kB / 0.9858 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.8057, allocations: 23.66 kB / 0.9858 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.716e-06/0.8057, allocations: 0 / 0.9858 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.8058, allocations: 322.8 kB / 0.9861 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003706/0.8062, allocations: 159.9 kB / 0.9863 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003527/0.8065, allocations: 155.9 kB / 0.9864 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003295/0.8069, allocations: 141.6 kB / 0.9866 GB, free: 456 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.8069, allocations: 3.938 kB / 0.9866 GB, free: 452 kB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008114/0.8077, allocations: 395.1 kB / 0.987 GB, free: 44 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.168e-05/0.8078, allocations: 34.47 kB / 0.987 GB, free: 4 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.8078, allocations: 8.047 kB / 0.987 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.8078, allocations: 0 / 0.987 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.808, allocations: 43.91 kB / 0.987 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.8081, allocations: 0 / 0.987 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.8083, allocations: 59.95 kB / 0.9871 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.8083, allocations: 0 / 0.9871 GB, free: 15.89 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (numReq1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.0001358/0.8084, allocations: 163.5 kB / 0.9873 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/0.8085, allocations: 11.91 kB / 0.9873 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.695e-05/0.8085, allocations: 12.7 kB / 0.9873 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.8085, allocations: 0 / 0.9873 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.8085, allocations: 7.984 kB / 0.9873 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.8085, allocations: 3.938 kB / 0.9873 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.8088, allocations: 213.5 kB / 0.9875 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.8088, allocations: 3.953 kB / 0.9875 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.809, allocations: 51.95 kB / 0.9875 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.809, allocations: 0 / 0.9875 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.809, allocations: 4.422 kB / 0.9875 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.809, allocations: 0 / 0.9875 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.809, allocations: 4 kB / 0.9876 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008911/0.8099, allocations: 496.9 kB / 0.988 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.014e-05/0.81, allocations: 92.91 kB / 0.9881 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.81, allocations: 7.938 kB / 0.9881 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.8102, allocations: 59.88 kB / 0.9882 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002207/0.8105, allocations: 79.89 kB / 0.9883 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.8105, allocations: 4 kB / 0.9883 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.903e-05/0.8106, allocations: 113 kB / 0.9884 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8106, allocations: 0 / 0.9884 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002363/0.8108, allocations: 28 kB / 0.9884 GB, free: 14.46 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: 1 (numReq1.y) * Number of discrete states: 1 (numReq1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.001169/0.812, allocations: 1.03 MB / 0.9894 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008346/0.8128, allocations: 399.1 kB / 0.9898 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.8128, allocations: 0 / 0.9898 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004401/0.8133, allocations: 251.3 kB / 0.99 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.8136, allocations: 19.98 kB / 0.99 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/0.8157, allocations: 1.194 MB / 0.9912 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.816, allocations: 0.7043 MB / 0.9919 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.796e-05/0.816, allocations: 12.17 kB / 0.9919 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.338e-05/0.8161, allocations: 27.42 kB / 0.9919 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of SimCode: time 2.61e-07/0.8161, allocations: 0 / 0.9919 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01383/0.8299, allocations: 3.34 MB / 0.9952 GB, free: 7.574 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/0.8302, allocations: 219.5 kB / 0.9954 GB, free: 7.332 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.772/2.602, allocations: 0 / 0.9954 GB, free: 7.332 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_NumberOfRequests_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_NumberOfRequests.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests_res.mat does not exist to compare? outputFormat=mat