Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage_nonZeroStart",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.001081/0.001081, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001059/0.001059, allocations: 201.3 kB / 16.14 MB, free: 6.793 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.232/2.232, allocations: 390.2 MB / 0.6643 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 67.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5511/0.5525, allocations: 140.4 MB / 0.9491 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart): time 0.002476/0.555, allocations: 2.007 MB / 0.951 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008299/0.5558, allocations: 0.6468 MB / 0.9517 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.986e-05/0.5559, allocations: 1.656 kB / 0.9517 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.158e-05/0.556, allocations: 7.875 kB / 0.9517 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.58e-05/0.5561, allocations: 41.62 kB / 0.9517 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.5564, allocations: 137.2 kB / 0.9518 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000223/0.5566, allocations: 309.6 kB / 0.9521 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.412e-05/0.5567, allocations: 52.08 kB / 0.9522 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.5569, allocations: 115.8 kB / 0.9523 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.557, allocations: 142.1 kB / 0.9524 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.952e-05/0.557, allocations: 16.59 kB / 0.9524 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.083e-05/0.5571, allocations: 17.56 kB / 0.9525 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.335e-05/0.5571, allocations: 67.8 kB / 0.9525 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.418e-05/0.5572, allocations: 132.5 kB / 0.9527 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.5574, allocations: 281.1 kB / 0.9529 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.5574, allocations: 1.094 kB / 0.9529 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5574, allocations: 0 / 0.9529 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.5574, allocations: 3.938 kB / 0.9529 GB, free: 6.125 MB / 0.7169 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.0009551/0.5584, allocations: 0.6299 MB / 0.9535 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.642e-05/0.5584, allocations: 9.938 kB / 0.9536 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.36e-05/0.5585, allocations: 62.27 kB / 0.9536 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.092e-05/0.5585, allocations: 29.91 kB / 0.9536 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.342e-05/0.5586, allocations: 199.4 kB / 0.9538 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.5587, allocations: 266.5 kB / 0.9541 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.209e-05/0.5588, allocations: 30.19 kB / 0.9541 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003997/0.5592, allocations: 265 kB / 0.9544 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.5592, allocations: 1.344 kB / 0.9544 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.5592, allocations: 10.72 kB / 0.9544 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.5593, allocations: 4.094 kB / 0.9544 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003642/0.5596, allocations: 178.8 kB / 0.9546 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007411/0.5604, allocations: 0.7881 MB / 0.9553 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003691/0.5608, allocations: 202.5 kB / 0.9555 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.561, allocations: 131 kB / 0.9556 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.17e-05/0.561, allocations: 11.27 kB / 0.9557 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004192/0.5614, allocations: 308.8 kB / 0.9559 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=48): time 1.633e-06/0.5614, allocations: 4 kB / 0.9559 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of matching and sorting (n=48): time 0.0008273/0.5623, allocations: 481.1 kB / 0.9564 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.5623, allocations: 122.5 kB / 0.9565 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.761e-05/0.5624, allocations: 179.5 kB / 0.9567 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.5624, allocations: 41.89 kB / 0.9567 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.606e-05/0.5625, allocations: 124.2 kB / 0.9569 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.272e-05/0.5626, allocations: 149.3 kB / 0.957 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.5627, allocations: 105.8 kB / 0.9571 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.273e-05/0.5627, allocations: 337.9 kB / 0.9574 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/0.563, allocations: 148.8 kB / 0.9576 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/0.5633, allocations: 251.4 kB / 0.9578 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004948/0.5638, allocations: 397.3 kB / 0.9582 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.5638, allocations: 1.094 kB / 0.9582 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007045/0.5645, allocations: 495 kB / 0.9587 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.5645, allocations: 7.969 kB / 0.9587 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.5645, allocations: 6.188 kB / 0.9587 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.5645, allocations: 6.281 kB / 0.9587 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003401/0.5649, allocations: 97.86 kB / 0.9588 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.5649, allocations: 9.391 kB / 0.9588 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/0.5651, allocations: 53.72 kB / 0.9588 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/0.5652, allocations: 19.12 kB / 0.9588 GB, free: 1.535 MB / 0.7169 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.000106/0.5653, allocations: 160 kB / 0.959 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.137e-05/0.5653, allocations: 32.61 kB / 0.959 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.574e-05/0.5654, allocations: 38.34 kB / 0.9591 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.5654, allocations: 5.438 kB / 0.9591 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5654, allocations: 5.031 kB / 0.9591 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.5654, allocations: 5.109 kB / 0.9591 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.5657, allocations: 356.9 kB / 0.9594 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.5657, allocations: 9.109 kB / 0.9594 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003634/0.566, allocations: 66.59 kB / 0.9595 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.5661, allocations: 3.188 kB / 0.9595 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/0.5661, allocations: 17.23 kB / 0.9595 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.5661, allocations: 5.969 kB / 0.9595 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5661, allocations: 0.9375 kB / 0.9595 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008763/0.567, allocations: 0.5778 MB / 0.9601 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.853e-05/0.567, allocations: 110.1 kB / 0.9602 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.284e-05/0.5671, allocations: 14.8 kB / 0.9602 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.5673, allocations: 32.78 kB / 0.9602 GB, free: 500 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.5674, allocations: 54.39 kB / 0.9603 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.5674, allocations: 14.92 kB / 0.9603 GB, free: 464 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.693e-05/0.5675, allocations: 121.6 kB / 0.9604 GB, free: 368 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5675, allocations: 0 / 0.9604 GB, free: 368 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002802/0.5678, allocations: 79.06 kB / 0.9605 GB, free: 352 kB / 0.7169 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.001123/0.5689, allocations: 1.162 MB / 0.9616 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006168/0.5695, allocations: 381.4 kB / 0.962 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.5695, allocations: 0 / 0.962 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000351/0.5699, allocations: 200.9 kB / 0.9622 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.5702, allocations: 47.69 kB / 0.9622 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003515/0.5737, allocations: 3.237 MB / 0.9654 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.574, allocations: 0.7654 MB / 0.9661 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001478/0.5741, allocations: 41.11 kB / 0.9662 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.5743, allocations: 84.91 kB / 0.9663 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.5743, allocations: 0 / 0.9663 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.204/2.778, allocations: 5.875 MB / 0.972 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002351/2.778, allocations: 230 kB / 0.9722 GB, free: 8.992 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.645/5.423, allocations: 0 / 0.9722 GB, free: 8.992 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage_nonZeroStart_fmu --startTime=100 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage_nonZeroStart.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart_res.mat does not exist to compare? outputFormat=mat