Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.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.001318/0.001318, allocations: 110.6 kB / 17.07 MB, free: 5.965 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.001487/0.001488, allocations: 194.7 kB / 20.03 MB, free: 3.035 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.491/1.491, 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.153/1.153, allocations: 147.6 MB / 445.6 MB, free: 8.297 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.MovingAverage,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 66.02 kB / 0.611 GB, free: 37.73 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2022, allocations: 83.16 MB / 0.6922 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.003521/0.2057, allocations: 1.091 MB / 0.6932 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002797/0.2086, allocations: 1.106 MB / 0.6943 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.2087, allocations: 5.156 kB / 0.6943 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 8.45e-05/0.2088, allocations: 15.75 kB / 0.6943 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.2091, allocations: 48.44 kB / 0.6944 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007386/0.2098, allocations: 142.2 kB / 0.6945 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005293/0.2104, allocations: 320.2 kB / 0.6948 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002161/0.2106, allocations: 48.14 kB / 0.6949 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000279/0.2109, allocations: 135.4 kB / 0.695 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000327/0.2113, allocations: 159.8 kB / 0.6951 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.58e-05/0.2113, allocations: 28.94 kB / 0.6952 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.01e-05/0.2114, allocations: 30.25 kB / 0.6952 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.2116, allocations: 76.16 kB / 0.6953 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001939/0.2118, allocations: 132.4 kB / 0.6954 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005323/0.2123, allocations: 317.7 kB / 0.6957 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.2123, allocations: 0 / 0.6957 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2124, allocations: 1.375 kB / 0.6957 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.2124, allocations: 0 / 0.6957 GB, free: 10.63 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001854/0.2142, allocations: 0.6316 MB / 0.6963 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.5e-05/0.2143, allocations: 9.625 kB / 0.6963 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001038/0.2144, allocations: 57.61 kB / 0.6964 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.2146, allocations: 42.61 kB / 0.6964 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.2149, allocations: 194.6 kB / 0.6966 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003595/0.2153, allocations: 266.2 kB / 0.6969 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-05/0.2154, allocations: 31.61 kB / 0.6969 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007629/0.2161, allocations: 264.9 kB / 0.6971 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.125e-05/0.2162, allocations: 9.266 kB / 0.6972 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.989e-05/0.2162, allocations: 6.531 kB / 0.6972 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.2162, allocations: 4.344 kB / 0.6972 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000676/0.2169, allocations: 184.5 kB / 0.6973 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001753/0.2187, allocations: 0.7797 MB / 0.6981 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000764/0.2195, allocations: 197.9 kB / 0.6983 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003968/0.2199, allocations: 138.5 kB / 0.6984 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.343e-05/0.22, allocations: 11.98 kB / 0.6984 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008191/0.2208, allocations: 315.6 kB / 0.6987 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=48): time 2.816e-06/0.2208, allocations: 0 / 0.6987 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48): time 0.00151/0.2223, allocations: 478.2 kB / 0.6992 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/0.2225, allocations: 122.7 kB / 0.6993 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.2227, allocations: 171.5 kB / 0.6995 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.217e-05/0.2228, allocations: 45.64 kB / 0.6995 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.2229, allocations: 125.3 kB / 0.6996 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.2231, allocations: 162.7 kB / 0.6998 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.2232, allocations: 98.34 kB / 0.6999 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.2234, allocations: 342.8 kB / 0.7002 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003215/0.2238, allocations: 149.2 kB / 0.7004 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003984/0.2242, allocations: 252.8 kB / 0.7006 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006798/0.2249, allocations: 398 kB / 0.701 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.2249, allocations: 0 / 0.701 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009005/0.2258, allocations: 485.3 kB / 0.7014 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.2258, allocations: 15.92 kB / 0.7015 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.2258, allocations: 4 kB / 0.7015 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.2258, allocations: 4 kB / 0.7015 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004016/0.2263, allocations: 99.83 kB / 0.7016 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/0.2263, allocations: 8 kB / 0.7016 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003088/0.2266, allocations: 51.81 kB / 0.7016 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.195e-05/0.2266, allocations: 24 kB / 0.7016 GB, free: 4.805 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 27 (movAve1.mode,$PRE.movAve1.mode,$whenCondition5,movAve2.mode,$PRE.movAve2.mode,$whenCondition6,movAve3.mode,$PRE.movAve3.mode,$whenCondition7,movAve4.mode,$PRE.movAve4.mode,$whenCondition8,movAve5.mode,$PRE.movAve5.mode,$whenCondition9,movAve6.mode,$PRE.movAve6.mode,$whenCondition3,movAve7.mode,$PRE.movAve7.mode,$whenCondition4,movAve8.mode,$PRE.movAve8.mode,$whenCondition1,movAve9.mode,$PRE.movAve9.mode,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0001973/0.2269, allocations: 166.7 kB / 0.7018 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-05/0.2269, allocations: 35.84 kB / 0.7018 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.656e-05/0.227, allocations: 37.84 kB / 0.7019 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.227, allocations: 4 kB / 0.7019 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.227, allocations: 3.938 kB / 0.7019 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.2271, allocations: 4 kB / 0.7019 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004182/0.2275, allocations: 361.2 kB / 0.7022 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2275, allocations: 4 kB / 0.7022 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004213/0.2279, allocations: 71.89 kB / 0.7023 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.2279, allocations: 3.938 kB / 0.7023 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.708e-05/0.228, allocations: 16 kB / 0.7023 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/0.228, allocations: 7.984 kB / 0.7023 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.228, allocations: 0 / 0.7023 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.2291, allocations: 0.5824 MB / 0.7029 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.992e-05/0.2292, allocations: 108.8 kB / 0.703 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.246e-05/0.2293, allocations: 8 kB / 0.703 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.2295, allocations: 31.95 kB / 0.703 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.2296, allocations: 55.94 kB / 0.7031 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.475e-05/0.2297, allocations: 16 kB / 0.7031 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001068/0.2298, allocations: 125.2 kB / 0.7032 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2298, allocations: 0 / 0.7032 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003277/0.2301, allocations: 84 kB / 0.7033 GB, free: 3.004 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movAve1.mu,movAve2.mu,movAve3.mu,movAve4.mu,movAve5.mu,movAve6.mu,movAve7.mu,movAve8.mu,movAve9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movAve1.mode,movAve2.mode,movAve3.mode,movAve4.mode,movAve5.mode,$whenCondition4,$whenCondition3,movAve6.mode,movAve7.mode,$whenCondition2,$whenCondition1,movAve8.mode,movAve9.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.001561/0.2317, allocations: 1.156 MB / 0.7044 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000791/0.2325, allocations: 380.3 kB / 0.7048 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2325, allocations: 0 / 0.7048 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003958/0.2329, allocations: 192.8 kB / 0.705 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.2333, allocations: 43.72 kB / 0.705 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005016/0.2383, allocations: 3.16 MB / 0.7081 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/0.2388, allocations: 0.7725 MB / 0.7089 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001818/0.239, allocations: 34.97 kB / 0.7089 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.2391, allocations: 99.55 kB / 0.709 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of SimCode: time 1.483e-06/0.2392, allocations: 0 / 0.709 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03205/0.2712, allocations: 6.518 MB / 0.7153 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.282/8.553, allocations: 9.656 kB / 0.7154 GB, free: 6.555 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage_fmu --startTime=0 --stopTime=900 --stepSize=0.36 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.529192401096225] Failed to read output from testmodel.py, exit status != 0: 8.943764329887927 8.638299027 8.423223639 Calling exit ...