Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 108 kB / 15.6 MB, free: 132 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.002085/0.002085, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.493/1.493, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.959/2.959, allocations: 472.6 MB / 0.7451 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.001511, allocations: 67.39 kB / 0.9121 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3691, allocations: 159.9 MB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002662/0.3718, allocations: 0.6536 MB / 1.069 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.3731, allocations: 0.8178 MB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.666e-05/0.3732, allocations: 0 / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.308e-05/0.3732, allocations: 0 / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.443e-05/0.3733, allocations: 7.938 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.3736, allocations: 15.97 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.23e-05/0.3737, allocations: 23.92 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.3738, allocations: 8 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.544e-05/0.3739, allocations: 11.92 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.681e-05/0.374, allocations: 8 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.374, allocations: 0 / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.288e-05/0.3741, allocations: 4 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.44e-05/0.3741, allocations: 11.92 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.607e-05/0.3741, allocations: 4 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.3742, allocations: 27.89 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3742, allocations: 0 / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.565e-06/0.3743, allocations: 0 / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.3743, allocations: 4 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006479/0.3749, allocations: 339.7 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.067e-05/0.375, allocations: 12.03 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.388e-05/0.375, allocations: 4.875 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.3752, allocations: 168.4 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.3752, allocations: 4.375 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.3753, allocations: 384 / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.3755, allocations: 54.19 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.3755, allocations: 192 / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.3755, allocations: 7.922 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3755, allocations: 0 / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.3757, allocations: 31.97 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003967/0.3761, allocations: 244.9 kB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.3762, allocations: 50.47 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.794e-05/0.3763, allocations: 20.91 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.3764, allocations: 0 / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.3764, allocations: 34.56 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.3764, allocations: 0 / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003505/0.3768, allocations: 81.55 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.3768, allocations: 55.41 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.434e-05/0.3769, allocations: 101.8 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.3769, allocations: 25.7 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.378e-05/0.377, allocations: 88.08 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.377, allocations: 3.906 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.377, allocations: 13.72 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.3772, allocations: 323 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.407e-05/0.3773, allocations: 15.98 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.848e-05/0.3773, allocations: 11.98 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.3775, allocations: 40.83 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3775, allocations: 0 / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001885/0.3777, allocations: 69.66 kB / 1.072 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.3777, allocations: 8 kB / 1.072 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3777, allocations: 0 / 1.072 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.3778, allocations: 0 / 1.072 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.3779, allocations: 11.92 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.3779, allocations: 8 kB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.837e-05/0.3779, allocations: 3.984 kB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.378, allocations: 8.031 kB / 1.072 GB, free: 6.688 MB / 0.8262 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 (2): * Single equations (assignments): 2 * 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.0001067/0.3781, allocations: 109.8 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.3781, allocations: 0 / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002617/0.3784, allocations: 72.78 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3784, allocations: 0 / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.3784, allocations: 0 / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3784, allocations: 0 / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.3786, allocations: 165.6 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3786, allocations: 3.938 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.928e-05/0.3787, allocations: 8 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.3787, allocations: 3.984 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.3787, allocations: 3.938 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.3787, allocations: 3.938 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3787, allocations: 0 / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.379, allocations: 171.5 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.444e-05/0.3791, allocations: 81.09 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.3791, allocations: 4 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.754e-05/0.3792, allocations: 7.984 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.3792, allocations: 0 / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.3792, allocations: 0 / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.558e-05/0.3793, allocations: 83.28 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3793, allocations: 0 / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002223/0.3795, allocations: 11.97 kB / 1.072 GB, free: 5.871 MB / 0.8262 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 (2): * Single equations (assignments): 2 * 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.000227/0.3798, allocations: 99.77 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002474/0.38, allocations: 39.91 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.38, allocations: 0 / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.3801, allocations: 19.98 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.3805, allocations: 15 kB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003951/0.3809, allocations: 110 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.3812, allocations: 0.6729 MB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.504e-05/0.3813, allocations: 0 / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.139e-05/0.3813, allocations: 7.438 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of SimCode: time 6.41e-07/0.3813, allocations: 4 kB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of Templates: time 0.002628/0.384, allocations: 440.9 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches