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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 216.4 kB / 22.25 MB, free: 5.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.535/1.535, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.383/3.383, allocations: 0.505 GB / 0.8101 GB, free: 22.01 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,fileNamePrefix="Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 67.12 kB / 1.177 GB, free: 16.97 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3818, allocations: 180.2 MB / 1.353 GB, free: 8.379 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001857/0.3836, allocations: 0.6175 MB / 1.354 GB, free: 7.766 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.3847, allocations: 0.8592 MB / 1.354 GB, free: 6.895 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.325e-05/0.3847, allocations: 0 / 1.354 GB, free: 6.895 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.27e-05/0.3847, allocations: 0 / 1.354 GB, free: 6.895 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.431e-05/0.3848, allocations: 3.938 kB / 1.354 GB, free: 6.891 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.385, allocations: 11.98 kB / 1.354 GB, free: 6.879 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.961e-05/0.385, allocations: 11.94 kB / 1.354 GB, free: 6.867 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.122e-05/0.3851, allocations: 7.984 kB / 1.354 GB, free: 6.859 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.3852, allocations: 23.86 kB / 1.354 GB, free: 6.836 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.481e-05/0.3853, allocations: 3.984 kB / 1.354 GB, free: 6.832 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.3853, allocations: 8 kB / 1.354 GB, free: 6.824 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.19e-05/0.3853, allocations: 8 kB / 1.354 GB, free: 6.816 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.054e-05/0.3853, allocations: 3.938 kB / 1.354 GB, free: 6.812 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.866e-05/0.3853, allocations: 7.938 kB / 1.354 GB, free: 6.805 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.3854, allocations: 28.11 kB / 1.354 GB, free: 6.777 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3855, allocations: 0 / 1.354 GB, free: 6.777 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3855, allocations: 0 / 1.354 GB, free: 6.777 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.3855, allocations: 0 / 1.354 GB, free: 6.777 MB / 1.045 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.000373/0.3858, allocations: 254.4 kB / 1.355 GB, free: 6.496 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.3859, allocations: 12.03 kB / 1.355 GB, free: 6.484 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.739e-05/0.3859, allocations: 30.75 kB / 1.355 GB, free: 6.445 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.386, allocations: 12.92 kB / 1.355 GB, free: 6.434 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.3862, allocations: 106.5 kB / 1.355 GB, free: 6.305 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.3862, allocations: 4.375 kB / 1.355 GB, free: 6.301 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.3862, allocations: 8.312 kB / 1.355 GB, free: 6.293 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.3863, allocations: 34.25 kB / 1.355 GB, free: 6.254 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3863, allocations: 3.938 kB / 1.355 GB, free: 6.25 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.3863, allocations: 0 / 1.355 GB, free: 6.25 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.3863, allocations: 4 kB / 1.355 GB, free: 6.246 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.124e-05/0.3864, allocations: 11.98 kB / 1.355 GB, free: 6.234 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002118/0.3866, allocations: 124.8 kB / 1.355 GB, free: 6.07 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.846e-05/0.3867, allocations: 26.59 kB / 1.355 GB, free: 6.035 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.868e-05/0.3868, allocations: 16.86 kB / 1.355 GB, free: 6.016 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.3868, allocations: 0 / 1.355 GB, free: 6.016 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.3868, allocations: 34.56 kB / 1.355 GB, free: 5.973 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.3868, allocations: 0 / 1.355 GB, free: 5.973 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0002529/0.3871, allocations: 57.61 kB / 1.355 GB, free: 5.91 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.3871, allocations: 51.41 kB / 1.355 GB, free: 5.848 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.3872, allocations: 105.8 kB / 1.355 GB, free: 5.734 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.3872, allocations: 29.7 kB / 1.355 GB, free: 5.699 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.239e-05/0.3873, allocations: 88.27 kB / 1.355 GB, free: 5.609 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.3873, allocations: 3.953 kB / 1.355 GB, free: 5.605 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.3874, allocations: 9.719 kB / 1.355 GB, free: 5.59 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.3875, allocations: 314.8 kB / 1.356 GB, free: 5.273 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.872e-05/0.3876, allocations: 15.92 kB / 1.356 GB, free: 5.258 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.034e-05/0.3876, allocations: 4 kB / 1.356 GB, free: 5.254 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.562e-05/0.3877, allocations: 16.84 kB / 1.356 GB, free: 5.234 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3877, allocations: 4.062 kB / 1.356 GB, free: 5.23 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001206/0.3878, allocations: 45.69 kB / 1.356 GB, free: 5.18 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.3878, allocations: 11.94 kB / 1.356 GB, free: 5.168 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.3878, allocations: 0 / 1.356 GB, free: 5.168 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3878, allocations: 0 / 1.356 GB, free: 5.168 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.992e-05/0.3879, allocations: 7.984 kB / 1.356 GB, free: 5.16 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3879, allocations: 0 / 1.356 GB, free: 5.16 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.811e-05/0.388, allocations: 0 / 1.356 GB, free: 5.16 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.388, allocations: 7.875 kB / 1.356 GB, free: 5.152 MB / 1.045 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 0.0001145/0.3881, allocations: 121.8 kB / 1.356 GB, free: 5.023 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.102e-05/0.3881, allocations: 3.938 kB / 1.356 GB, free: 5.02 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.564e-05/0.3881, allocations: 7.141 kB / 1.356 GB, free: 5.012 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.3881, allocations: 0 / 1.356 GB, free: 5.012 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3881, allocations: 4.25 kB / 1.356 GB, free: 5.008 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3881, allocations: 0 / 1.356 GB, free: 5.008 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.3883, allocations: 136.7 kB / 1.356 GB, free: 4.832 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3883, allocations: 0 / 1.356 GB, free: 4.832 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.748e-05/0.3883, allocations: 0 / 1.356 GB, free: 4.832 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.3883, allocations: 11.94 kB / 1.356 GB, free: 4.82 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.3883, allocations: 0 / 1.356 GB, free: 4.82 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3883, allocations: 0 / 1.356 GB, free: 4.82 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3883, allocations: 0 / 1.356 GB, free: 4.82 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.3885, allocations: 73.06 kB / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-06/0.3885, allocations: 4 kB / 1.356 GB, free: 4.727 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.3885, allocations: 3.938 kB / 1.356 GB, free: 4.723 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.574e-05/0.3885, allocations: 4.031 kB / 1.356 GB, free: 4.719 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.3886, allocations: 11.86 kB / 1.356 GB, free: 4.707 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.3886, allocations: 4 kB / 1.356 GB, free: 4.703 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.98e-05/0.3886, allocations: 83.28 kB / 1.356 GB, free: 4.621 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3886, allocations: 0 / 1.356 GB, free: 4.621 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001905/0.3888, allocations: 0 / 1.356 GB, free: 4.621 MB / 1.045 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.0005477/0.3894, allocations: 0.6046 MB / 1.357 GB, free: 3.984 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000149/0.3895, allocations: 19.98 kB / 1.357 GB, free: 3.965 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3895, allocations: 0 / 1.357 GB, free: 3.965 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.684e-05/0.3896, allocations: 7.938 kB / 1.357 GB, free: 3.957 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.3897, allocations: 0 / 1.357 GB, free: 3.957 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005127/0.3902, allocations: 136.8 kB / 1.357 GB, free: 3.781 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.3906, allocations: 0.6729 MB / 1.358 GB, free: 3.082 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.76e-05/0.3906, allocations: 0 / 1.358 GB, free: 3.082 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.123e-05/0.3907, allocations: 15.44 kB / 1.358 GB, free: 3.066 MB / 1.045 GB Notification: Performance of SimCode: time 6.51e-07/0.3907, allocations: 0 / 1.358 GB, free: 3.066 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02899/0.4197, allocations: 1.224 MB / 1.359 GB, free: 1.973 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.42, allocations: 9.375 kB / 1.359 GB, free: 1.969 MB / 1.045 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin_fmu --startTime=0 --stopTime=130 --stepSize=0.052 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.61385272582993]