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 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.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.0009938/0.0009939, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001152/0.001153, allocations: 168.7 kB / 15.95 MB, free: 204 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.509/1.509, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.026/3.026, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003821/0.0003822, allocations: 11.06 kB / 0.9021 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.35, allocations: 159.6 MB / 1.058 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.0009917/0.3511, allocations: 384.7 kB / 1.058 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.3522, allocations: 0.8157 MB / 1.059 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.039e-05/0.3522, allocations: 0 / 1.059 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.575e-05/0.3523, allocations: 0 / 1.059 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.668e-05/0.3523, allocations: 3.938 kB / 1.059 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.3525, allocations: 7.984 kB / 1.059 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.952e-05/0.3526, allocations: 23.92 kB / 1.059 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.3527, allocations: 0 / 1.059 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.566e-05/0.3527, allocations: 8 kB / 1.059 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.743e-05/0.3528, allocations: 11.92 kB / 1.059 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.3528, allocations: 7.984 kB / 1.059 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.598e-06/0.3528, allocations: 3.938 kB / 1.059 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.239e-05/0.3529, allocations: 4 kB / 1.059 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.464e-05/0.3529, allocations: 29.7 kB / 1.059 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.111e-05/0.353, allocations: 11.97 kB / 1.059 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.353, allocations: 0 / 1.059 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.308e-06/0.353, allocations: 3.984 kB / 1.059 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.353, allocations: 0 / 1.059 GB, free: 4.004 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004502/0.3534, allocations: 343.5 kB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.3535, allocations: 11.97 kB / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.3535, allocations: 4 kB / 1.06 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.3537, allocations: 167 kB / 1.06 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.3537, allocations: 0 / 1.06 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.3537, allocations: 7.953 kB / 1.06 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.3539, allocations: 53.67 kB / 1.06 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.3539, allocations: 4 kB / 1.06 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.354, allocations: 0 / 1.06 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.354, allocations: 0 / 1.06 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.3541, allocations: 39.97 kB / 1.06 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003885/0.3545, allocations: 256.9 kB / 1.06 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.3547, allocations: 38.56 kB / 1.06 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.775e-05/0.3548, allocations: 28.91 kB / 1.06 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.3548, allocations: 4 kB / 1.06 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.3548, allocations: 34.55 kB / 1.06 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.3548, allocations: 0 / 1.06 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003537/0.3552, allocations: 97.59 kB / 1.06 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.3552, allocations: 55.39 kB / 1.06 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.941e-05/0.3553, allocations: 101.8 kB / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.3554, allocations: 25.7 kB / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.195e-05/0.3554, allocations: 84.14 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.3554, allocations: 7.906 kB / 1.061 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/0.3554, allocations: 0 / 1.061 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.3556, allocations: 319 kB / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.893e-05/0.3557, allocations: 23.98 kB / 1.061 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.866e-05/0.3557, allocations: 15.98 kB / 1.061 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.883e-05/0.3558, allocations: 32 kB / 1.061 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3558, allocations: 0 / 1.061 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002007/0.356, allocations: 77.59 kB / 1.061 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.3561, allocations: 8.031 kB / 1.061 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.3561, allocations: 0 / 1.061 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.3561, allocations: 0 / 1.061 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.527e-05/0.3562, allocations: 15.98 kB / 1.061 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3562, allocations: 4 kB / 1.061 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.691e-05/0.3563, allocations: 11.92 kB / 1.061 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.3563, allocations: 0 / 1.061 GB, free: 1.953 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 (2): * Single equations (assignments): 2 * 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 8.266e-05/0.3564, allocations: 121.8 kB / 1.061 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.3564, allocations: 4.094 kB / 1.061 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/0.3566, allocations: 76.78 kB / 1.061 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.3566, allocations: 3.984 kB / 1.061 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3566, allocations: 0 / 1.061 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3567, allocations: 4.031 kB / 1.061 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.3568, allocations: 161.6 kB / 1.061 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.3568, allocations: 3.953 kB / 1.061 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.561e-05/0.3569, allocations: 8 kB / 1.061 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.3569, allocations: 7.984 kB / 1.061 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.3569, allocations: 0 / 1.061 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3569, allocations: 0 / 1.061 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3569, allocations: 0 / 1.061 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.3572, allocations: 171.5 kB / 1.062 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.899e-05/0.3572, allocations: 81.06 kB / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.3572, allocations: 4 kB / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.44e-05/0.3573, allocations: 8.031 kB / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.3574, allocations: 7.984 kB / 1.062 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.3574, allocations: 3.938 kB / 1.062 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.924e-05/0.3574, allocations: 83.28 kB / 1.062 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3574, allocations: 0 / 1.062 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002153/0.3576, allocations: 3.938 kB / 1.062 GB, free: 1.117 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 (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0002071/0.3579, allocations: 103.2 kB / 1.062 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002197/0.3581, allocations: 51.95 kB / 1.062 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3581, allocations: 0 / 1.062 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.447e-05/0.3582, allocations: 28.05 kB / 1.062 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.3585, allocations: 0 / 1.062 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003125/0.3588, allocations: 121.2 kB / 1.062 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.3591, allocations: 0.677 MB / 1.063 GB, free: 84 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.614e-05/0.3592, allocations: 3.938 kB / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/0.3592, allocations: 7.438 kB / 1.063 GB, free: 72 kB / 0.8106 GB Notification: Performance of SimCode: time 2.71e-07/0.3592, allocations: 4.062 kB / 1.063 GB, free: 68 kB / 0.8106 GB Notification: Performance of Templates: time 0.002451/0.3617, allocations: 348 kB / 1.063 GB, free: 15.72 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