Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage",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.001365/0.001365, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001563/0.001564, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.699/1.699, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.538/3.538, allocations: 409.2 MB / 0.6838 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003833/0.0003837, allocations: 12 kB / 0.8375 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057/1.058, allocations: 146.8 MB / 0.9809 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage): time 0.001466/1.059, allocations: 0.7655 MB / 0.9816 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001393/1.061, allocations: 1.1 MB / 0.9827 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.449e-05/1.061, allocations: 0 / 0.9827 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.656e-05/1.061, allocations: 15.8 kB / 0.9827 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001374/1.061, allocations: 39.91 kB / 0.9828 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003953/1.061, allocations: 115.9 kB / 0.9829 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002428/1.062, allocations: 191.6 kB / 0.9831 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/1.062, allocations: 48.31 kB / 0.9831 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/1.062, allocations: 107.7 kB / 0.9832 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/1.062, allocations: 135.5 kB / 0.9833 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.977e-05/1.062, allocations: 16 kB / 0.9833 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.094e-05/1.062, allocations: 16 kB / 0.9834 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.7e-05/1.062, allocations: 63.78 kB / 0.9834 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.208e-05/1.063, allocations: 61.58 kB / 0.9835 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002313/1.063, allocations: 209.7 kB / 0.9837 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/1.063, allocations: 0 / 0.9837 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.645e-06/1.063, allocations: 0 / 0.9837 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.458e-06/1.063, allocations: 0 / 0.9837 GB, free: 3.363 MB / 0.7325 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.001268/1.064, allocations: 0.6134 MB / 0.9843 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/1.064, allocations: 12.03 kB / 0.9843 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.013e-05/1.064, allocations: 58.55 kB / 0.9843 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.99e-05/1.064, allocations: 27.72 kB / 0.9844 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/1.064, allocations: 207.4 kB / 0.9846 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002273/1.065, allocations: 259.8 kB / 0.9848 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.556e-05/1.065, allocations: 39.91 kB / 0.9849 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004802/1.065, allocations: 261.7 kB / 0.9851 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/1.065, allocations: 7.938 kB / 0.9851 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/1.065, allocations: 8 kB / 0.9851 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/1.065, allocations: 4 kB / 0.9851 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004298/1.066, allocations: 191.8 kB / 0.9853 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/1.067, allocations: 0.7856 MB / 0.9861 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005367/1.068, allocations: 208.3 kB / 0.9863 GB, free: 460 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.139e-05/1.068, allocations: 16.48 kB / 0.9863 GB, free: 444 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006283/1.068, allocations: 311.5 kB / 0.9866 GB, free: 112 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=48): time 1.984e-06/1.068, allocations: 0 / 0.9866 GB, free: 112 kB / 0.7325 GB Notification: Performance of matching and sorting (n=48): time 0.001151/1.069, allocations: 0.4897 MB / 0.9871 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.668e-05/1.069, allocations: 114.8 kB / 0.9872 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/1.07, allocations: 179.4 kB / 0.9873 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.461e-05/1.07, allocations: 37.7 kB / 0.9874 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/1.07, allocations: 121.3 kB / 0.9875 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/1.07, allocations: 153.9 kB / 0.9876 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/1.07, allocations: 12 kB / 0.9877 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001807/1.07, allocations: 346.8 kB / 0.988 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003028/1.071, allocations: 149.2 kB / 0.9881 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003836/1.071, allocations: 256.8 kB / 0.9884 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003327/1.071, allocations: 167.9 kB / 0.9885 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/1.071, allocations: 0 / 0.9885 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008533/1.072, allocations: 497.4 kB / 0.989 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/1.072, allocations: 9.562 kB / 0.989 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/1.072, allocations: 7.938 kB / 0.989 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/1.072, allocations: 8 kB / 0.989 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/1.073, allocations: 99.81 kB / 0.9891 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/1.073, allocations: 7.938 kB / 0.9891 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000275/1.073, allocations: 67.66 kB / 0.9892 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/1.073, allocations: 20 kB / 0.9892 GB, free: 13.31 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001785/1.073, allocations: 167.5 kB / 0.9894 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/1.073, allocations: 27.7 kB / 0.9894 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.321e-05/1.073, allocations: 29.88 kB / 0.9894 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/1.073, allocations: 8 kB / 0.9894 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/1.073, allocations: 4 kB / 0.9894 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/1.073, allocations: 3.984 kB / 0.9894 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003657/1.074, allocations: 365 kB / 0.9898 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.074, allocations: 3.938 kB / 0.9898 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003954/1.074, allocations: 75.97 kB / 0.9899 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/1.074, allocations: 7.984 kB / 0.9899 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.105e-05/1.074, allocations: 8 kB / 0.9899 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/1.074, allocations: 4 kB / 0.9899 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.074, allocations: 4 kB / 0.9899 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/1.075, allocations: 0.6169 MB / 0.9905 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.971e-05/1.075, allocations: 104.8 kB / 0.9906 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.253e-05/1.075, allocations: 19.92 kB / 0.9906 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/1.076, allocations: 39.97 kB / 0.9907 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/1.076, allocations: 43.89 kB / 0.9907 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.244e-05/1.076, allocations: 16 kB / 0.9907 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.268e-05/1.076, allocations: 124.1 kB / 0.9908 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/1.076, allocations: 0 / 0.9908 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000325/1.076, allocations: 87.94 kB / 0.9909 GB, free: 11.46 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001403/1.078, allocations: 1.32 MB / 0.9922 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007492/1.078, allocations: 390.7 kB / 0.9926 GB, free: 9.719 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.078, allocations: 0 / 0.9926 GB, free: 9.719 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000347/1.079, allocations: 187.8 kB / 0.9928 GB, free: 9.535 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/1.079, allocations: 36.16 kB / 0.9928 GB, free: 9.5 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002728/1.082, allocations: 2.686 MB / 0.9954 GB, free: 6.707 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005027/1.082, allocations: 0.7725 MB / 0.9962 GB, free: 5.91 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001724/1.082, allocations: 34.97 kB / 0.9962 GB, free: 5.879 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/1.083, allocations: 87.41 kB / 0.9963 GB, free: 5.793 MB / 0.7481 GB Notification: Performance of SimCode: time 8.21e-07/1.083, allocations: 384 / 0.9963 GB, free: 5.793 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.218/2.301, allocations: 5.409 MB / 1.002 GB, free: 0.5859 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003401/2.301, allocations: 203.7 kB / 1.002 GB, free: 352 kB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.337/4.638, allocations: 3.938 kB / 1.002 GB, free: 348 kB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_res.mat does not exist to compare? outputFormat=mat