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 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.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.01039/0.01039, allocations: 98.69 kB / 15.73 MB, free: 6.004 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.002412/0.002412, allocations: 193.1 kB / 16.67 MB, free: 5.93 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.478/1.478, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.934/2.934, allocations: 472.6 MB / 0.7453 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001395, allocations: 64.12 kB / 1.07 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4274/0.4288, allocations: 159.9 MB / 1.226 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001893/0.4307, allocations: 0.6136 MB / 1.226 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009463/0.4317, allocations: 0.7962 MB / 1.227 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.419e-05/0.4318, allocations: 4 kB / 1.227 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.321e-05/0.4318, allocations: 3.938 kB / 1.227 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.42e-05/0.4319, allocations: 4 kB / 1.227 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00016/0.432, allocations: 15.91 kB / 1.227 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.906e-05/0.4321, allocations: 15.94 kB / 1.227 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.579e-05/0.4322, allocations: 7.984 kB / 1.227 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.605e-05/0.4323, allocations: 11.94 kB / 1.227 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.714e-05/0.4323, allocations: 0 / 1.227 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.4324, allocations: 4 kB / 1.227 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-06/0.4324, allocations: 0 / 1.227 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.228e-05/0.4324, allocations: 7.984 kB / 1.227 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.236e-05/0.4325, allocations: 11.92 kB / 1.227 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.666e-05/0.4325, allocations: 19.92 kB / 1.227 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4326, allocations: 0 / 1.227 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4326, allocations: 0 / 1.227 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.4326, allocations: 0 / 1.227 GB, free: 7.582 MB / 0.9825 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.0004418/0.433, allocations: 327.5 kB / 1.227 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 7.354e-05/0.4331, allocations: 12.03 kB / 1.227 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.515e-05/0.4331, allocations: 4.891 kB / 1.227 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.4333, allocations: 168.3 kB / 1.228 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.4333, allocations: 384 / 1.228 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.4333, allocations: 8.375 kB / 1.228 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.4335, allocations: 34.25 kB / 1.228 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.4335, allocations: 192 / 1.228 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.4335, allocations: 7.922 kB / 1.228 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.4335, allocations: 3.938 kB / 1.228 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.116e-05/0.4336, allocations: 15.98 kB / 1.228 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001941/0.4338, allocations: 149.7 kB / 1.228 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.92e-05/0.4339, allocations: 30.55 kB / 1.228 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.434e-05/0.4339, allocations: 12.91 kB / 1.228 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.434, allocations: 4 kB / 1.228 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.434, allocations: 30.56 kB / 1.228 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.021e-06/0.434, allocations: 0 / 1.228 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0002143/0.4342, allocations: 57.61 kB / 1.228 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.4343, allocations: 55.53 kB / 1.228 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.4344, allocations: 97.86 kB / 1.228 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.4344, allocations: 25.7 kB / 1.228 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.451e-05/0.4345, allocations: 92.12 kB / 1.228 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.4345, allocations: 11.83 kB / 1.228 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.4346, allocations: 9.719 kB / 1.228 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.4347, allocations: 314.8 kB / 1.229 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.617e-05/0.4347, allocations: 15.98 kB / 1.229 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.736e-05/0.4348, allocations: 7.938 kB / 1.229 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.03e-05/0.4349, allocations: 20.84 kB / 1.229 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.4349, allocations: 0 / 1.229 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.968e-05/0.435, allocations: 41.69 kB / 1.229 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.435, allocations: 8 kB / 1.229 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.435, allocations: 3.938 kB / 1.229 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.435, allocations: 4.094 kB / 1.229 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.184e-05/0.4351, allocations: 7.984 kB / 1.229 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.4351, allocations: 3.938 kB / 1.229 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.857e-05/0.4351, allocations: 256 / 1.229 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.4352, allocations: 0 / 1.229 GB, free: 5.801 MB / 0.9825 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.715e-05/0.4352, allocations: 113.8 kB / 1.229 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.167e-06/0.4353, allocations: 4 kB / 1.229 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.961e-05/0.4353, allocations: 7.062 kB / 1.229 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.4353, allocations: 0 / 1.229 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4353, allocations: 7.984 kB / 1.229 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.4353, allocations: 4 kB / 1.229 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.4354, allocations: 149.7 kB / 1.229 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.4354, allocations: 0 / 1.229 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.12e-05/0.4355, allocations: 4 kB / 1.229 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.4355, allocations: 0 / 1.229 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.4355, allocations: 3.938 kB / 1.229 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.4355, allocations: 4 kB / 1.229 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4355, allocations: 0 / 1.229 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.4356, allocations: 77.06 kB / 1.229 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-05/0.4357, allocations: 81.05 kB / 1.229 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.4357, allocations: 7.875 kB / 1.229 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.782e-05/0.4358, allocations: 4 kB / 1.229 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.4358, allocations: 0 / 1.229 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.4358, allocations: 3.984 kB / 1.229 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.921e-05/0.4359, allocations: 83.28 kB / 1.229 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4359, allocations: 4.031 kB / 1.229 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001717/0.436, allocations: 4 kB / 1.229 GB, free: 5.152 MB / 0.9825 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.0001572/0.4362, allocations: 101.6 kB / 1.229 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001218/0.4363, allocations: 15.98 kB / 1.229 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.4363, allocations: 4 kB / 1.229 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.45e-05/0.4364, allocations: 11.92 kB / 1.229 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.4365, allocations: 5.844 kB / 1.229 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002832/0.4368, allocations: 118.4 kB / 1.229 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.4371, allocations: 0.6729 MB / 1.23 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.67e-05/0.4372, allocations: 0 / 1.23 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.614e-05/0.4372, allocations: 11.44 kB / 1.23 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.4372, allocations: 0 / 1.23 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of Templates: time 0.002348/0.4396, allocations: 284.7 kB / 1.23 GB, free: 3.879 MB / 0.9825 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/jenkins/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