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.001015/0.001015, allocations: 92.08 kB / 16.02 MB, free: 80 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.001389/0.001389, allocations: 178.2 kB / 16.92 MB, free: 6.652 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.506/1.506, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.755/2.755, allocations: 462.7 MB / 0.7371 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003908, allocations: 14.28 kB / 0.9035 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3196, allocations: 159.6 MB / 1.059 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.0008131/0.3204, allocations: 347.3 kB / 1.06 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.3215, allocations: 0.8002 MB / 1.06 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.833e-05/0.3215, allocations: 0 / 1.06 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.7e-05/0.3215, allocations: 3.938 kB / 1.06 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.894e-05/0.3216, allocations: 7.984 kB / 1.06 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001439/0.3218, allocations: 8 kB / 1.06 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.933e-05/0.3218, allocations: 23.86 kB / 1.06 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.394e-05/0.3219, allocations: 0 / 1.06 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.224e-05/0.322, allocations: 15.88 kB / 1.061 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.786e-05/0.322, allocations: 11.98 kB / 1.061 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.3221, allocations: 0 / 1.061 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.636e-06/0.3221, allocations: 0 / 1.061 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.3221, allocations: 0 / 1.061 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.51e-05/0.3222, allocations: 41.62 kB / 1.061 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.667e-05/0.3222, allocations: 11.97 kB / 1.061 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3222, allocations: 0 / 1.061 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3222, allocations: 0 / 1.061 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.3222, allocations: 0 / 1.061 GB, free: 3.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.000374/0.3226, allocations: 327.7 kB / 1.061 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.3227, allocations: 11.97 kB / 1.061 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.3227, allocations: 4.938 kB / 1.061 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.3229, allocations: 164.3 kB / 1.061 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.3229, allocations: 4.375 kB / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.3229, allocations: 384 / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.3231, allocations: 38.25 kB / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.3231, allocations: 192 / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.3231, allocations: 7.922 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.3231, allocations: 0 / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.678e-05/0.3232, allocations: 27.86 kB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001723/0.3234, allocations: 157.7 kB / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.518e-05/0.3235, allocations: 26.59 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.887e-05/0.3235, allocations: 16.92 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.3236, allocations: 0 / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.3236, allocations: 34.56 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.3236, allocations: 0 / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0002281/0.3238, allocations: 65.55 kB / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.3239, allocations: 55.41 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.245e-05/0.324, allocations: 101.8 kB / 1.062 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.324, allocations: 25.7 kB / 1.062 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/0.324, allocations: 84.27 kB / 1.062 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.3241, allocations: 4 kB / 1.062 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.3241, allocations: 9.719 kB / 1.062 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.3242, allocations: 314.8 kB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.213e-05/0.3243, allocations: 7.984 kB / 1.062 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.173e-05/0.3243, allocations: 8 kB / 1.062 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.342e-05/0.3244, allocations: 32.84 kB / 1.062 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3244, allocations: 0 / 1.062 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000119/0.3245, allocations: 49.59 kB / 1.062 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.3245, allocations: 11.94 kB / 1.062 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3246, allocations: 3.938 kB / 1.062 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.3246, allocations: 0 / 1.062 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.279e-05/0.3247, allocations: 12.02 kB / 1.062 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.3247, allocations: 3.984 kB / 1.062 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.538e-05/0.3247, allocations: 8 kB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.3247, allocations: 0 / 1.062 GB, free: 1.867 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.147e-05/0.3248, allocations: 105.8 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.151e-05/0.3248, allocations: 4 kB / 1.062 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.706e-05/0.3249, allocations: 7.062 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.3249, allocations: 3.984 kB / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3249, allocations: 4.25 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.3249, allocations: 0 / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.325, allocations: 157.7 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.325, allocations: 0 / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.817e-05/0.325, allocations: 7.938 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.325, allocations: 0 / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.3251, allocations: 3.938 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.3251, allocations: 3.938 kB / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3251, allocations: 0 / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.3252, allocations: 81.11 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.444e-05/0.3253, allocations: 81.02 kB / 1.063 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.3253, allocations: 3.938 kB / 1.063 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.054e-05/0.3253, allocations: 4 kB / 1.063 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.787e-05/0.3254, allocations: 3.984 kB / 1.063 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.3254, allocations: 0 / 1.063 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.048e-05/0.3254, allocations: 87.31 kB / 1.063 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3254, allocations: 0 / 1.063 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001819/0.3256, allocations: 4 kB / 1.063 GB, free: 1.223 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.0001287/0.3257, allocations: 95.25 kB / 1.063 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001341/0.3259, allocations: 27.92 kB / 1.063 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3259, allocations: 64 / 1.063 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.349e-05/0.3259, allocations: 15.98 kB / 1.063 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.3261, allocations: 1.375 kB / 1.063 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002794/0.3264, allocations: 142.3 kB / 1.063 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.3266, allocations: 0.6692 MB / 1.064 GB, free: 208 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.956e-05/0.3267, allocations: 15.42 kB / 1.064 GB, free: 192 kB / 0.8106 GB Notification: Performance of SimCode: time 3.51e-07/0.3267, allocations: 4.062 kB / 1.064 GB, free: 188 kB / 0.8106 GB Notification: Performance of Templates: time 0.001899/0.3286, allocations: 453.2 kB / 1.064 GB, free: 15.74 MB / 0.8262 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