Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.776/1.776, allocations: 306.1 MB / 321.4 MB, free: 10.74 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 175.5 kB / 393.1 MB, free: 4.074 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.646/1.646, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009477/0.0009479, allocations: 95.97 kB / 0.7935 GB, free: 39.93 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004117/0.0004117, allocations: 12 kB / 0.9225 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8194/0.8198, allocations: 121.3 MB / 1.041 GB, free: 57.95 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart): time 0.002111/0.822, allocations: 1.632 MB / 1.042 GB, free: 56.83 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.823, allocations: 0.6873 MB / 1.043 GB, free: 56.3 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.593e-05/0.8231, allocations: 2.625 kB / 1.043 GB, free: 56.3 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.586e-05/0.8232, allocations: 11.77 kB / 1.043 GB, free: 56.3 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.8233, allocations: 40.41 kB / 1.043 GB, free: 56.27 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003946/0.8237, allocations: 129.1 kB / 1.043 GB, free: 56.2 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.824, allocations: 310.6 kB / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.8241, allocations: 44.83 kB / 1.044 GB, free: 56.06 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.8243, allocations: 109.7 kB / 1.044 GB, free: 56.02 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.8245, allocations: 140.2 kB / 1.044 GB, free: 55.96 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.721e-05/0.8245, allocations: 14.06 kB / 1.044 GB, free: 55.96 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 3.505e-05/0.8246, allocations: 13.44 kB / 1.044 GB, free: 55.96 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.779e-05/0.8246, allocations: 55.17 kB / 1.044 GB, free: 55.94 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.8248, allocations: 150.1 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.825, allocations: 284.4 kB / 1.044 GB, free: 55.75 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.8251, allocations: 0 / 1.044 GB, free: 55.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.704e-06/0.8251, allocations: 0 / 1.044 GB, free: 55.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.8251, allocations: 0 / 1.044 GB, free: 55.75 MB / 0.698 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.001068/0.8261, allocations: 0.6079 MB / 1.045 GB, free: 55.31 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.8262, allocations: 9.594 kB / 1.045 GB, free: 55.31 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.087e-05/0.8263, allocations: 32.81 kB / 1.045 GB, free: 55.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.8264, allocations: 198.3 kB / 1.045 GB, free: 55.08 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001688/0.8266, allocations: 273.1 kB / 1.045 GB, free: 54.78 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.433e-05/0.8266, allocations: 29.44 kB / 1.046 GB, free: 54.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004611/0.8271, allocations: 270.9 kB / 1.046 GB, free: 54.64 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.8271, allocations: 1.75 kB / 1.046 GB, free: 54.64 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.8272, allocations: 6.75 kB / 1.046 GB, free: 54.64 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.8272, allocations: 9.406 kB / 1.046 GB, free: 54.64 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003944/0.8276, allocations: 187.5 kB / 1.046 GB, free: 54.58 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009916/0.8286, allocations: 0.7861 MB / 1.047 GB, free: 53.99 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004667/0.8291, allocations: 214.1 kB / 1.047 GB, free: 53.87 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002455/0.8293, allocations: 131.8 kB / 1.047 GB, free: 53.81 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.316e-05/0.8294, allocations: 18.09 kB / 1.047 GB, free: 53.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005598/0.8299, allocations: 319.2 kB / 1.047 GB, free: 53.65 MB / 0.698 GB Notification: Performance of pre-optimization done (n=48): time 1.844e-06/0.8299, allocations: 0 / 1.047 GB, free: 53.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.0009994/0.8309, allocations: 499.7 kB / 1.048 GB, free: 53.47 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.831, allocations: 126.4 kB / 1.048 GB, free: 53.34 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.8312, allocations: 169.6 kB / 1.048 GB, free: 53.21 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.8312, allocations: 42.02 kB / 1.048 GB, free: 53.17 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.567e-05/0.8313, allocations: 121.6 kB / 1.048 GB, free: 53.06 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.8314, allocations: 147.9 kB / 1.048 GB, free: 52.94 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.163e-05/0.8314, allocations: 12.22 kB / 1.048 GB, free: 52.93 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.251e-05/0.8315, allocations: 339.8 kB / 1.049 GB, free: 52.61 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/0.8318, allocations: 155.8 kB / 1.049 GB, free: 52.56 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003317/0.8321, allocations: 255.9 kB / 1.049 GB, free: 52.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000577/0.8327, allocations: 402.2 kB / 1.05 GB, free: 52.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.8327, allocations: 0.9375 kB / 1.05 GB, free: 52.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000791/0.8335, allocations: 0.4975 MB / 1.05 GB, free: 51.94 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.8335, allocations: 6.312 kB / 1.05 GB, free: 51.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.8336, allocations: 3.688 kB / 1.05 GB, free: 51.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.8336, allocations: 7.031 kB / 1.05 GB, free: 51.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/0.834, allocations: 95.7 kB / 1.05 GB, free: 51.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.834, allocations: 11.84 kB / 1.05 GB, free: 51.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000269/0.8343, allocations: 69.38 kB / 1.05 GB, free: 51.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.604e-05/0.8343, allocations: 20.25 kB / 1.05 GB, free: 51.89 MB / 0.698 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 ($whenCondition5,$PRE.movAve1.mode,movAve1.mode,$whenCondition6,$PRE.movAve2.mode,movAve2.mode,$whenCondition7,$PRE.movAve3.mode,movAve3.mode,$whenCondition8,$PRE.movAve4.mode,movAve4.mode,$whenCondition9,$PRE.movAve5.mode,movAve5.mode,$whenCondition3,$PRE.movAve6.mode,movAve6.mode,$whenCondition4,$PRE.movAve7.mode,movAve7.mode,$whenCondition1,$PRE.movAve8.mode,movAve8.mode,$whenCondition2,$PRE.movAve9.mode,movAve9.mode) * 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.0001363/0.8344, allocations: 159.7 kB / 1.05 GB, free: 51.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/0.8345, allocations: 31.02 kB / 1.05 GB, free: 51.73 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.072e-05/0.8346, allocations: 35.02 kB / 1.05 GB, free: 51.71 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.8346, allocations: 5.188 kB / 1.05 GB, free: 51.71 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.8346, allocations: 2.094 kB / 1.05 GB, free: 51.71 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.8346, allocations: 2.391 kB / 1.05 GB, free: 51.71 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000321/0.8349, allocations: 356.5 kB / 1.051 GB, free: 51.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.8349, allocations: 3.469 kB / 1.051 GB, free: 51.44 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003939/0.8353, allocations: 81.59 kB / 1.051 GB, free: 51.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.8353, allocations: 3 kB / 1.051 GB, free: 51.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.066e-05/0.8354, allocations: 8.156 kB / 1.051 GB, free: 51.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.8354, allocations: 8.141 kB / 1.051 GB, free: 51.42 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.8354, allocations: 1.812 kB / 1.051 GB, free: 51.42 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009816/0.8364, allocations: 0.6007 MB / 1.052 GB, free: 51.14 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.395e-05/0.8364, allocations: 111.4 kB / 1.052 GB, free: 51.02 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.38e-05/0.8365, allocations: 7.781 kB / 1.052 GB, free: 51.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.8367, allocations: 50.17 kB / 1.052 GB, free: 51 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.8368, allocations: 54.08 kB / 1.052 GB, free: 50.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.8369, allocations: 12.69 kB / 1.052 GB, free: 50.99 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.299e-05/0.837, allocations: 134.8 kB / 1.052 GB, free: 50.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.837, allocations: 0 / 1.052 GB, free: 50.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002851/0.8373, allocations: 74.66 kB / 1.052 GB, free: 50.89 MB / 0.698 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.0001695/0.8374, allocations: 134.2 kB / 1.052 GB, free: 50.79 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006996/0.8381, allocations: 394.1 kB / 1.052 GB, free: 50.67 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.8381, allocations: 0 / 1.052 GB, free: 50.67 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003617/0.8385, allocations: 209.2 kB / 1.053 GB, free: 50.61 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.8388, allocations: 49.78 kB / 1.053 GB, free: 50.58 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.8399, allocations: 0.731 MB / 1.053 GB, free: 50.11 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001879/0.8401, allocations: 0.7569 MB / 1.054 GB, free: 49.42 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001611/0.8403, allocations: 43.2 kB / 1.054 GB, free: 49.41 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.995e-05/0.8404, allocations: 30.19 kB / 1.054 GB, free: 49.41 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/0.8404, allocations: 4 kB / 1.054 GB, free: 49.4 MB / 0.698 GB Notification: Performance of Templates: time 0.006813/0.8472, allocations: 3.371 MB / 1.057 GB, free: 49.2 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe 2>&1)