Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 105.1 kB / 17.07 MB, free: 5.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002039/0.002039, allocations: 193.2 kB / 20.03 MB, free: 3.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.108/1.108, allocations: 147.6 MB / 445.6 MB, free: 8.617 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002987/0.002987, allocations: 63.89 kB / 0.611 GB, free: 52 kB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.522/0.525, allocations: 83.15 MB / 0.6922 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002151/0.5272, allocations: 0.6928 MB / 0.6928 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001316/0.5285, allocations: 0.8591 MB / 0.6937 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.168e-05/0.5286, allocations: 2.156 kB / 0.6937 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.192e-05/0.5286, allocations: 3.938 kB / 0.6937 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.409e-05/0.5287, allocations: 3.938 kB / 0.6937 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.5289, allocations: 32.11 kB / 0.6937 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.529, allocations: 47.8 kB / 0.6938 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.5292, allocations: 9.047 kB / 0.6938 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.658e-05/0.5292, allocations: 22.14 kB / 0.6938 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.528e-05/0.5293, allocations: 18.23 kB / 0.6938 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.5293, allocations: 4.312 kB / 0.6938 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.315e-05/0.5293, allocations: 1.75 kB / 0.6938 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.04e-05/0.5294, allocations: 6.875 kB / 0.6938 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.221e-05/0.5294, allocations: 23.08 kB / 0.6938 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.5295, allocations: 42.92 kB / 0.6939 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.5296, allocations: 4 kB / 0.6939 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5296, allocations: 0 / 0.6939 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.5296, allocations: 1.156 kB / 0.6939 GB, free: 12.02 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006647/0.5302, allocations: 362.3 kB / 0.6942 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.5303, allocations: 10.75 kB / 0.6942 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.446e-05/0.5304, allocations: 30.75 kB / 0.6943 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.871e-05/0.5304, allocations: 11.55 kB / 0.6943 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.5306, allocations: 167 kB / 0.6944 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.5306, allocations: 4.375 kB / 0.6944 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.5306, allocations: 6.969 kB / 0.6945 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.5309, allocations: 70.11 kB / 0.6945 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.531, allocations: 3.938 kB / 0.6945 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.531, allocations: 3.938 kB / 0.6945 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.531, allocations: 5.234 kB / 0.6945 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000299/0.5313, allocations: 66.8 kB / 0.6946 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003832/0.5317, allocations: 262.7 kB / 0.6948 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.5319, allocations: 53.56 kB / 0.6949 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.5321, allocations: 43.44 kB / 0.6949 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.5321, allocations: 3.938 kB / 0.6949 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.5321, allocations: 35.69 kB / 0.695 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.5321, allocations: 0 / 0.695 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0005778/0.5327, allocations: 127.1 kB / 0.6951 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.5328, allocations: 51.41 kB / 0.6951 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.288e-05/0.5329, allocations: 111.7 kB / 0.6953 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.5329, allocations: 26.73 kB / 0.6953 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.948e-05/0.533, allocations: 96.95 kB / 0.6954 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.533, allocations: 6.422 kB / 0.6954 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.316e-05/0.5331, allocations: 16.16 kB / 0.6954 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.5332, allocations: 320 kB / 0.6957 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.5334, allocations: 28.75 kB / 0.6957 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.5335, allocations: 34.09 kB / 0.6958 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/0.5338, allocations: 71.94 kB / 0.6958 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.5338, allocations: 4 kB / 0.6958 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003435/0.5342, allocations: 97.58 kB / 0.6959 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.5342, allocations: 8.547 kB / 0.6959 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.5342, allocations: 1.531 kB / 0.6959 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.5342, allocations: 0 / 0.6959 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.5344, allocations: 14.3 kB / 0.6959 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.5344, allocations: 4 kB / 0.696 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.459e-05/0.5345, allocations: 15.73 kB / 0.696 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.5345, allocations: 0 / 0.696 GB, free: 10.02 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.5346, allocations: 118.1 kB / 0.6961 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.5346, allocations: 1.688 kB / 0.6961 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.406e-05/0.5347, allocations: 13.52 kB / 0.6961 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.5347, allocations: 0 / 0.6961 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.5347, allocations: 5.25 kB / 0.6961 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.5347, allocations: 4 kB / 0.6961 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.5349, allocations: 172.7 kB / 0.6963 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.5349, allocations: 1.188 kB / 0.6963 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.637e-05/0.535, allocations: 18.41 kB / 0.6963 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.582e-06/0.535, allocations: 0 / 0.6963 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.5351, allocations: 4.906 kB / 0.6963 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.5351, allocations: 0 / 0.6963 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5351, allocations: 1.125 kB / 0.6963 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003884/0.5355, allocations: 195.7 kB / 0.6965 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/0.5355, allocations: 82.58 kB / 0.6966 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.5356, allocations: 13.45 kB / 0.6966 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.5357, allocations: 11.3 kB / 0.6966 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/0.5357, allocations: 1.812 kB / 0.6966 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.748e-06/0.5357, allocations: 5.719 kB / 0.6966 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.043e-05/0.5358, allocations: 92.77 kB / 0.6967 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5358, allocations: 0 / 0.6967 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000215/0.536, allocations: 5.5 kB / 0.6967 GB, free: 9.273 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007907/0.5368, allocations: 0.7317 MB / 0.6974 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003492/0.5372, allocations: 70.23 kB / 0.6975 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5372, allocations: 1.375 kB / 0.6975 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.5374, allocations: 36.59 kB / 0.6975 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.5377, allocations: 13.83 kB / 0.6975 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004866/0.5382, allocations: 151.9 kB / 0.6977 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.5386, allocations: 0.6796 MB / 0.6983 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.026e-05/0.5386, allocations: 1.375 kB / 0.6983 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.079e-05/0.5387, allocations: 14.19 kB / 0.6983 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.5387, allocations: 4 kB / 0.6983 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02283/0.5615, allocations: 1.659 MB / 0.7 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.839/8.4, allocations: 3.562 kB / 0.7 GB, free: 6.727 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Modulo.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.144503138028085] Failed to read output from testmodel.py, exit status != 0: 8.466022439999506 8.479302189 7.947079214 Calling exit ...