Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001045/0.001045, allocations: 190.3 kB / 16.25 MB, free: 6.152 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.236/1.236, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.33/2.33, allocations: 437 MB / 0.7101 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 67.91 kB / 0.8689 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5707/0.5719, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001701/0.5736, allocations: 0.6857 MB / 1.018 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000728/0.5744, allocations: 0.8001 MB / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.15e-05/0.5744, allocations: 0 / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.746e-05/0.5744, allocations: 3.938 kB / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.253e-05/0.5745, allocations: 0 / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001211/0.5746, allocations: 7.984 kB / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.159e-05/0.5747, allocations: 15.94 kB / 1.018 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.741e-05/0.5747, allocations: 7.984 kB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.013e-05/0.5748, allocations: 23.88 kB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.576e-05/0.5749, allocations: 7.984 kB / 1.018 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.5749, allocations: 0 / 1.018 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.065e-06/0.5749, allocations: 0 / 1.018 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.421e-05/0.5749, allocations: 7.984 kB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.575, allocations: 7.938 kB / 1.018 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.032e-05/0.575, allocations: 15.92 kB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.575, allocations: 0 / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.032e-06/0.575, allocations: 0 / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.5751, allocations: 0 / 1.018 GB, free: 1.145 MB / 0.7637 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.0003651/0.5754, allocations: 329.7 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.5755, allocations: 12.03 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.951e-05/0.5755, allocations: 34.75 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.988e-05/0.5755, allocations: 0.9375 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.5756, allocations: 168.3 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-06/0.5757, allocations: 384 / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.5757, allocations: 384 / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.5758, allocations: 34.25 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.5758, allocations: 11.88 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.5758, allocations: 0 / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.5758, allocations: 0 / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.226e-05/0.5759, allocations: 15.98 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001398/0.576, allocations: 153.7 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.619e-05/0.5761, allocations: 26.59 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.836e-05/0.5761, allocations: 8.922 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.5762, allocations: 4 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.5762, allocations: 38.5 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.5762, allocations: 0 / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001814/0.5764, allocations: 57.55 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.5764, allocations: 55.41 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.65e-05/0.5765, allocations: 97.86 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.5765, allocations: 25.83 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.989e-05/0.5766, allocations: 92.12 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.5766, allocations: 3.906 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.777e-05/0.5766, allocations: 13.72 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.779e-05/0.5767, allocations: 314.8 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.584e-05/0.5768, allocations: 7.984 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.595e-05/0.5768, allocations: 4 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.676e-05/0.5769, allocations: 28.84 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5769, allocations: 7.938 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.938e-05/0.577, allocations: 41.69 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.577, allocations: 7.938 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.577, allocations: 0 / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/0.577, allocations: 0 / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.023e-05/0.5771, allocations: 7.984 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.5771, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.93e-05/0.5771, allocations: 4.219 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.5771, allocations: 8 kB / 1.02 GB, free: 15.33 MB / 0.7794 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 6.435e-05/0.5772, allocations: 110.4 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.889e-06/0.5772, allocations: 3.938 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.875e-05/0.5772, allocations: 15.11 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.5772, allocations: 0 / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.5773, allocations: 0 / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.5773, allocations: 0 / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.081e-05/0.5774, allocations: 157.7 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.5774, allocations: 0 / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.5774, allocations: 7.938 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.5774, allocations: 7.938 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.5774, allocations: 0 / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.5774, allocations: 0 / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.5774, allocations: 0 / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.5775, allocations: 73.09 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.911e-05/0.5776, allocations: 81.02 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.5776, allocations: 11.97 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.615e-05/0.5776, allocations: 0 / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.5777, allocations: 3.984 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.5777, allocations: 0 / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.477e-05/0.5777, allocations: 83.28 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5777, allocations: 7.938 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001644/0.5779, allocations: 0 / 1.021 GB, free: 14.68 MB / 0.7794 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.0003746/0.5783, allocations: 0.6136 MB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.5784, allocations: 19.98 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5784, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.363e-05/0.5784, allocations: 4 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.5786, allocations: 5.359 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003101/0.5789, allocations: 140.3 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.5791, allocations: 0.6768 MB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.069e-05/0.5792, allocations: 4 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.867e-05/0.5792, allocations: 11.44 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5792, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00952/0.5887, allocations: 0.9881 MB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.5889, allocations: 204.6 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.485/2.074, allocations: 3.938 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin_fmu --startTime=0 --stopTime=130 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches