Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001838/0.001838, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002108/0.002108, allocations: 198.1 kB / 16.79 MB, free: 6.828 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.465/1.465, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.673/2.673, allocations: 461.8 MB / 0.7348 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 77.45 kB / 0.8991 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3169, allocations: 157.4 MB / 1.053 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001994/0.3189, allocations: 0.6759 MB / 1.053 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009573/0.3199, allocations: 0.8079 MB / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.809e-05/0.32, allocations: 4 kB / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.109e-05/0.32, allocations: 0 / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.164e-05/0.3201, allocations: 3.938 kB / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001376/0.3202, allocations: 7.984 kB / 1.054 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.468e-05/0.3203, allocations: 15.94 kB / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.005e-05/0.3203, allocations: 4 kB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.208e-05/0.3204, allocations: 15.92 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.353e-05/0.3205, allocations: 11.98 kB / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.3205, allocations: 0 / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.168e-06/0.3205, allocations: 4 kB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.3206, allocations: 0 / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.977e-05/0.3206, allocations: 11.92 kB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.604e-05/0.3207, allocations: 7.984 kB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3207, allocations: 4 kB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.71e-07/0.3207, allocations: 0 / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.3207, allocations: 0 / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004057/0.3211, allocations: 323.7 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3211, allocations: 11.97 kB / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.841e-05/0.3212, allocations: 4.844 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.3213, allocations: 176.4 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.3213, allocations: 384 / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.3213, allocations: 8.297 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.3215, allocations: 34.25 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.3215, allocations: 4.188 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.3215, allocations: 3.938 kB / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.3215, allocations: 3.938 kB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.828e-05/0.3216, allocations: 12 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001562/0.3217, allocations: 165.6 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.567e-05/0.3218, allocations: 22.58 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.075e-05/0.3219, allocations: 12.86 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.3219, allocations: 3.984 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.3219, allocations: 30.56 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.3219, allocations: 0 / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0002117/0.3221, allocations: 57.62 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.3222, allocations: 51.41 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.245e-05/0.3223, allocations: 105.8 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.3223, allocations: 25.7 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.3223, allocations: 84.14 kB / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.3224, allocations: 7.906 kB / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.3224, allocations: 9.719 kB / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.3225, allocations: 319 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.89e-05/0.3226, allocations: 11.94 kB / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.124e-05/0.3226, allocations: 7.984 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.679e-05/0.3227, allocations: 20.86 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3227, allocations: 0 / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001279/0.3228, allocations: 45.67 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3228, allocations: 9.188 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.3229, allocations: 3.938 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.3229, allocations: 0 / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-05/0.3229, allocations: 4 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.323, allocations: 0 / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.625e-05/0.323, allocations: 4 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.323, allocations: 7.922 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 8.439e-05/0.3231, allocations: 109.8 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.3231, allocations: 4 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.899e-05/0.3231, allocations: 11.06 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3231, allocations: 0 / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3232, allocations: 0 / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3232, allocations: 0 / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.3233, allocations: 153.7 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3233, allocations: 3.938 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.343e-05/0.3233, allocations: 7.984 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3234, allocations: 0 / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.3234, allocations: 3.938 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3234, allocations: 0 / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.3234, allocations: 4.25 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.3235, allocations: 69.12 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.3236, allocations: 81.02 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.3236, allocations: 11.92 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.867e-05/0.3236, allocations: 3.938 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.644e-05/0.3237, allocations: 7.938 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.3237, allocations: 32 / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.829e-05/0.3237, allocations: 91.27 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3237, allocations: 0 / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001788/0.3239, allocations: 0 / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0001276/0.3241, allocations: 99.25 kB / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001188/0.3242, allocations: 11.98 kB / 1.056 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3242, allocations: 4 kB / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.033e-05/0.3242, allocations: 12.06 kB / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.3244, allocations: 1.719 kB / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003263/0.3247, allocations: 146 kB / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.325, allocations: 0.677 MB / 1.057 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.325, allocations: 7.438 kB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.325, allocations: 0 / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of Templates: time 0.001644/0.3267, allocations: 453.4 kB / 1.058 GB, free: 2.785 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches