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.001237/0.001237, allocations: 100.2 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.00141/0.00141, 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 1.434/1.434, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.473/2.473, allocations: 409.2 MB / 0.6838 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003721/0.0003721, allocations: 8 kB / 0.8375 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7279/0.7283, allocations: 146.8 MB / 0.9809 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests): time 0.001096/0.7294, allocations: 0.5265 MB / 0.9814 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009768/0.7304, allocations: 0.8547 MB / 0.9822 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.821e-05/0.7305, allocations: 0 / 0.9822 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.266e-05/0.7306, allocations: 11.92 kB / 0.9822 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.297e-05/0.7306, allocations: 23.84 kB / 0.9823 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001026/0.7307, allocations: 23.97 kB / 0.9823 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.7309, allocations: 71.89 kB / 0.9824 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.731, allocations: 16 kB / 0.9824 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.654e-05/0.7311, allocations: 55.81 kB / 0.9824 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.636e-05/0.7312, allocations: 47.81 kB / 0.9825 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.7312, allocations: 8 kB / 0.9825 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.546e-05/0.7312, allocations: 4 kB / 0.9825 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.646e-05/0.7313, allocations: 15.92 kB / 0.9825 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.081e-05/0.7313, allocations: 45.64 kB / 0.9825 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.7314, allocations: 90.03 kB / 0.9826 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.7315, allocations: 0 / 0.9826 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.244e-06/0.7315, allocations: 0 / 0.9826 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.7315, allocations: 0 / 0.9826 GB, free: 4.516 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.0008116/0.7323, allocations: 494.1 kB / 0.9831 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.7323, allocations: 8.031 kB / 0.9831 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.044e-05/0.7324, allocations: 34.56 kB / 0.9831 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.91e-05/0.7324, allocations: 19.91 kB / 0.9832 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.7326, allocations: 194.8 kB / 0.9833 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.7327, allocations: 4 kB / 0.9833 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.7327, allocations: 12 kB / 0.9834 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000567/0.7333, allocations: 213.4 kB / 0.9836 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.7333, allocations: 4 kB / 0.9836 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.7333, allocations: 0 / 0.9836 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.7333, allocations: 0 / 0.9836 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007467/0.7341, allocations: 263.8 kB / 0.9838 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008095/0.7349, allocations: 432.5 kB / 0.9842 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004649/0.7354, allocations: 202.4 kB / 0.9844 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.7354, allocations: 0 / 0.9844 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.7354, allocations: 34.56 kB / 0.9845 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.7354, allocations: 3.938 kB / 0.9845 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.001422/0.7369, allocations: 0.5342 MB / 0.985 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.7369, allocations: 89.09 kB / 0.9851 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.737, allocations: 144.2 kB / 0.9852 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.7371, allocations: 29.7 kB / 0.9852 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.553e-05/0.7371, allocations: 104.1 kB / 0.9853 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.7372, allocations: 23.66 kB / 0.9854 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/0.7372, allocations: 4 kB / 0.9854 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.7373, allocations: 318.8 kB / 0.9857 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004102/0.7377, allocations: 159.9 kB / 0.9858 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003912/0.7381, allocations: 151.9 kB / 0.986 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/0.7385, allocations: 142 kB / 0.9861 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.7385, allocations: 3.953 kB / 0.9861 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008942/0.7394, allocations: 403 kB / 0.9865 GB, free: 316 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.421e-05/0.7395, allocations: 37.69 kB / 0.9865 GB, free: 272 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.7395, allocations: 0 / 0.9865 GB, free: 272 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.7395, allocations: 4 kB / 0.9865 GB, free: 268 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.7397, allocations: 47.95 kB / 0.9866 GB, free: 220 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.7397, allocations: 112 / 0.9866 GB, free: 220 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.74, allocations: 59.89 kB / 0.9866 GB, free: 160 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.74, allocations: 4 kB / 0.9866 GB, free: 156 kB / 0.7325 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.000144/0.7401, allocations: 155.5 kB / 0.9868 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.691e-05/0.7402, allocations: 15.86 kB / 0.9868 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.64e-05/0.7402, allocations: 12.72 kB / 0.9868 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.7402, allocations: 0 / 0.9868 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.7402, allocations: 0 / 0.9868 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.7403, allocations: 3.984 kB / 0.9868 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.7405, allocations: 209.5 kB / 0.987 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.7405, allocations: 0 / 0.987 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.7407, allocations: 59.84 kB / 0.9871 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.7407, allocations: 0 / 0.9871 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.7407, allocations: 7.984 kB / 0.9871 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.7407, allocations: 0 / 0.9871 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7407, allocations: 0 / 0.9871 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000966/0.7417, allocations: 492.9 kB / 0.9875 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.7418, allocations: 88.95 kB / 0.9876 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.7418, allocations: 7.953 kB / 0.9876 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/0.7421, allocations: 55.94 kB / 0.9877 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001934/0.7423, allocations: 75.91 kB / 0.9878 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.7423, allocations: 7.984 kB / 0.9878 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.302e-05/0.7424, allocations: 109.7 kB / 0.9879 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7424, allocations: 0 / 0.9879 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002481/0.7426, allocations: 27.94 kB / 0.9879 GB, free: 14.74 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.00127/0.7439, allocations: 1.034 MB / 0.9889 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009252/0.7448, allocations: 399.2 kB / 0.9893 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7449, allocations: 0 / 0.9893 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004904/0.7453, allocations: 255.2 kB / 0.9895 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.7456, allocations: 19.95 kB / 0.9896 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/0.7478, allocations: 1.198 MB / 0.9907 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.7481, allocations: 0.7004 MB / 0.9914 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.258e-05/0.7482, allocations: 20.16 kB / 0.9914 GB, free: 11 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.036e-05/0.7482, allocations: 19.44 kB / 0.9914 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.7482, allocations: 0 / 0.9914 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03859/0.7868, allocations: 3.326 MB / 0.9947 GB, free: 7.863 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000244/0.7871, allocations: 211.6 kB / 0.9949 GB, free: 7.625 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/2.666, allocations: 8.062 kB / 0.9949 GB, free: 7.617 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