Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8828/0.8828, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.739/1.739, allocations: 377.8 MB / 0.6221 GB, free: 8.68 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.226e-06/3.226e-06, allocations: 0 / 0.981 GB, free: 2.539 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.407e-05, allocations: 2.281 kB / 0.981 GB, free: 2.535 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002222/0.002246, allocations: 1.929 MB / 0.9829 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008953/0.003141, allocations: 0.7011 MB / 0.9836 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.594e-05/0.003227, allocations: 0 / 0.9836 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 4.708e-05/0.003274, allocations: 19.73 kB / 0.9836 GB, free: 15.87 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 9.083e-05/0.003365, allocations: 51.52 kB / 0.9837 GB, free: 15.82 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.003833, allocations: 183.5 kB / 0.9838 GB, free: 15.64 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002822/0.004115, allocations: 331 kB / 0.9842 GB, free: 15.31 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.004251, allocations: 44.84 kB / 0.9842 GB, free: 15.27 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002419/0.004493, allocations: 195.6 kB / 0.9844 GB, free: 15.08 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.004629, allocations: 115.7 kB / 0.9845 GB, free: 14.96 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.153e-05/0.00466, allocations: 32 kB / 0.9845 GB, free: 14.93 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.431e-05/0.004714, allocations: 35.98 kB / 0.9846 GB, free: 14.9 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.779e-05/0.004762, allocations: 75.72 kB / 0.9846 GB, free: 14.82 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.693e-05/0.004829, allocations: 107.7 kB / 0.9847 GB, free: 14.72 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.005108, allocations: 339 kB / 0.9851 GB, free: 14.39 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.005112, allocations: 4 kB / 0.9851 GB, free: 14.38 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.242e-06/0.005113, allocations: 0 / 0.9851 GB, free: 14.38 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.005119, allocations: 0 / 0.9851 GB, free: 14.38 MB / 0.948 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.0007593/0.005878, allocations: 0.556 MB / 0.9856 GB, free: 13.79 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.005919, allocations: 12.03 kB / 0.9856 GB, free: 13.78 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.907e-05/0.005968, allocations: 58.73 kB / 0.9857 GB, free: 13.71 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.006169, allocations: 60.72 kB / 0.9857 GB, free: 13.66 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/0.006517, allocations: 197.8 kB / 0.9859 GB, free: 13.44 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004022/0.006919, allocations: 499.6 kB / 0.9864 GB, free: 12.84 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.394e-05/0.006963, allocations: 32.36 kB / 0.9864 GB, free: 12.81 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003547/0.007318, allocations: 251.2 kB / 0.9867 GB, free: 12.55 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.007334, allocations: 12.16 kB / 0.9867 GB, free: 12.54 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.007356, allocations: 15.88 kB / 0.9867 GB, free: 12.52 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.007363, allocations: 4 kB / 0.9867 GB, free: 12.52 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002765/0.00764, allocations: 179.8 kB / 0.9869 GB, free: 12.34 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007727/0.008412, allocations: 0.691 MB / 0.9876 GB, free: 11.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.008772, allocations: 191.7 kB / 0.9877 GB, free: 11.39 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.008927, allocations: 130.5 kB / 0.9879 GB, free: 11.25 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.272e-05/0.00896, allocations: 11.94 kB / 0.9879 GB, free: 11.24 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000354/0.009314, allocations: 308.6 kB / 0.9882 GB, free: 10.92 MB / 0.948 GB Notification: Performance of pre-optimization done (n=48): time 1.743e-06/0.009316, allocations: 0 / 0.9882 GB, free: 10.92 MB / 0.948 GB Notification: Performance of matching and sorting (n=48): time 0.0007161/0.01003, allocations: 492.2 kB / 0.9886 GB, free: 10.43 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/0.0101, allocations: 126.8 kB / 0.9888 GB, free: 10.29 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.01023, allocations: 183.7 kB / 0.9889 GB, free: 10.09 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.01026, allocations: 37.7 kB / 0.989 GB, free: 10.05 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.071e-05/0.01033, allocations: 121.3 kB / 0.9891 GB, free: 9.93 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.01043, allocations: 154.8 kB / 0.9892 GB, free: 9.777 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.01054, allocations: 102.3 kB / 0.9893 GB, free: 9.672 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.01065, allocations: 346.8 kB / 0.9897 GB, free: 9.324 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.01086, allocations: 145.2 kB / 0.9898 GB, free: 9.184 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/0.01111, allocations: 252.9 kB / 0.99 GB, free: 8.898 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004458/0.01155, allocations: 402 kB / 0.9904 GB, free: 8.469 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.01156, allocations: 0 / 0.9904 GB, free: 8.469 MB / 0.948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005656/0.01213, allocations: 489.4 kB / 0.9909 GB, free: 7.984 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.01215, allocations: 11.94 kB / 0.9909 GB, free: 7.973 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.01216, allocations: 7.938 kB / 0.9909 GB, free: 7.965 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.01217, allocations: 4 kB / 0.9909 GB, free: 7.961 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.01238, allocations: 99.83 kB / 0.991 GB, free: 7.863 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.01239, allocations: 7.938 kB / 0.991 GB, free: 7.855 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.01253, allocations: 55.7 kB / 0.9911 GB, free: 7.801 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.01255, allocations: 27.98 kB / 0.9911 GB, free: 7.773 MB / 0.948 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.0001192/0.01267, allocations: 159.7 kB / 0.9912 GB, free: 7.605 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.127e-05/0.0127, allocations: 27.86 kB / 0.9913 GB, free: 7.578 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.318e-05/0.01275, allocations: 41.89 kB / 0.9913 GB, free: 7.539 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.01275, allocations: 8.078 kB / 0.9913 GB, free: 7.531 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.01276, allocations: 4 kB / 0.9913 GB, free: 7.527 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.01276, allocations: 0 / 0.9913 GB, free: 7.527 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.01302, allocations: 280.4 kB / 0.9916 GB, free: 7.211 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.01302, allocations: 0 / 0.9916 GB, free: 7.211 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/0.01323, allocations: 71.89 kB / 0.9917 GB, free: 7.141 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.01323, allocations: 4 kB / 0.9917 GB, free: 7.137 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.01326, allocations: 19.92 kB / 0.9917 GB, free: 7.117 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.01326, allocations: 4 kB / 0.9917 GB, free: 7.113 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01326, allocations: 0 / 0.9917 GB, free: 7.113 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007219/0.01398, allocations: 0.5916 MB / 0.9923 GB, free: 6.504 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.081e-05/0.01402, allocations: 35.69 kB / 0.9923 GB, free: 6.469 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.01405, allocations: 11.94 kB / 0.9923 GB, free: 6.457 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.01415, allocations: 31.95 kB / 0.9923 GB, free: 6.426 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.01427, allocations: 55.98 kB / 0.9924 GB, free: 6.371 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.068e-05/0.0143, allocations: 27.98 kB / 0.9924 GB, free: 6.344 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.707e-05/0.01439, allocations: 127.2 kB / 0.9925 GB, free: 6.219 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01439, allocations: 192 / 0.9925 GB, free: 6.219 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003062/0.0147, allocations: 80 kB / 0.9926 GB, free: 6.141 MB / 0.948 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.001307/0.016, allocations: 1.156 MB / 0.9937 GB, free: 4.949 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005324/0.01653, allocations: 367.2 kB / 0.9941 GB, free: 4.586 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.01654, allocations: 0 / 0.9941 GB, free: 4.586 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002571/0.0168, allocations: 180.4 kB / 0.9943 GB, free: 4.41 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.01708, allocations: 41.7 kB / 0.9943 GB, free: 4.371 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003102/0.02018, allocations: 3.166 MB / 0.9974 GB, free: 1.039 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.02031, allocations: 160.2 kB / 0.9976 GB, free: 0.8555 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001274/0.02044, allocations: 34.97 kB / 0.9976 GB, free: 0.8203 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.02059, allocations: 96.47 kB / 0.9977 GB, free: 0.7266 MB / 0.948 GB Notification: Performance of SimCode: time 1.532e-06/0.02059, allocations: 3.938 kB / 0.9977 GB, free: 0.7227 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0221/0.0427, allocations: 7.573 MB / 1.005 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.791/6.833, allocations: 3.281 kB / 1.005 GB, free: 9.371 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart_fmu --startTime=100 --stopTime=900 --stepSize=0.32 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.938117805868387]