Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00184/0.00184, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002196/0.002196, allocations: 212.3 kB / 22.25 MB, free: 5.262 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.476/1.476, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.158/3.158, allocations: 0.49 GB / 0.7951 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002086/0.002086, allocations: 69.56 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3765, allocations: 176.1 MB / 1.326 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002303/0.3788, allocations: 0.6106 MB / 1.326 GB, free: 0.832 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.3802, allocations: 0.8436 MB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.045e-05/0.3803, allocations: 0 / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.078e-05/0.3803, allocations: 0 / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.67e-05/0.3804, allocations: 3.938 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.3806, allocations: 19.97 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.22e-05/0.3807, allocations: 19.88 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.556e-05/0.3807, allocations: 0 / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.3809, allocations: 23.92 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.65e-05/0.381, allocations: 7.938 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.381, allocations: 0 / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.798e-05/0.381, allocations: 8 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.381, allocations: 7.969 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.141e-05/0.381, allocations: 0 / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.3812, allocations: 24.14 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3812, allocations: 0 / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.717e-06/0.3812, allocations: 3.984 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.689e-06/0.3812, allocations: 0 / 1.327 GB, free: 15.86 MB / 1.029 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.0004386/0.3816, allocations: 258.4 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.3817, allocations: 8.031 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.015e-05/0.3817, allocations: 30.75 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.3819, allocations: 12.92 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.382, allocations: 114.4 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.382, allocations: 384 / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.382, allocations: 384 / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.3822, allocations: 38.25 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3822, allocations: 7.875 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-06/0.3822, allocations: 4 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3822, allocations: 0 / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.174e-05/0.3823, allocations: 11.98 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000168/0.3824, allocations: 120.8 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.311e-05/0.3825, allocations: 30.53 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.496e-05/0.3826, allocations: 12.92 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.3826, allocations: 0 / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.3826, allocations: 34.5 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.3826, allocations: 4 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0002238/0.3828, allocations: 57.61 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.3829, allocations: 55.41 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.383, allocations: 105.8 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.383, allocations: 25.7 kB / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.638e-05/0.3831, allocations: 84.14 kB / 1.328 GB, free: 14.69 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.3831, allocations: 3.938 kB / 1.328 GB, free: 14.69 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.3831, allocations: 13.72 kB / 1.328 GB, free: 14.67 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3833, allocations: 318.8 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.725e-05/0.3833, allocations: 4 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.313e-05/0.3834, allocations: 8.125 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.287e-05/0.3834, allocations: 20.84 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3834, allocations: 0 / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001182/0.3835, allocations: 53.62 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.3836, allocations: 11.94 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3836, allocations: 0 / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.3836, allocations: 3.984 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.142e-05/0.3837, allocations: 8.094 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3837, allocations: 3.938 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.777e-05/0.3837, allocations: 0 / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.3837, allocations: 0 / 1.329 GB, free: 14.23 MB / 1.029 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 9.727e-05/0.3838, allocations: 114.4 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.173e-05/0.3838, allocations: 3.938 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.3838, allocations: 3.156 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.3838, allocations: 4 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3838, allocations: 0 / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.3838, allocations: 0 / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.384, allocations: 128.7 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.384, allocations: 4 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.357e-05/0.384, allocations: 0 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.384, allocations: 7.938 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.384, allocations: 0 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.384, allocations: 0 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.384, allocations: 3.938 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.3842, allocations: 73.05 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-06/0.3842, allocations: 7.953 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.3842, allocations: 7.875 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.514e-05/0.3842, allocations: 4.031 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.3842, allocations: 8 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.3843, allocations: 4.234 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.106e-05/0.3843, allocations: 83.28 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3843, allocations: 0 / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001907/0.3845, allocations: 4 kB / 1.329 GB, free: 13.7 MB / 1.029 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.0004791/0.385, allocations: 0.6046 MB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001358/0.3851, allocations: 23.95 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3851, allocations: 0 / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.884e-05/0.3852, allocations: 8 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.3853, allocations: 1.203 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004463/0.3857, allocations: 136.6 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.334e-05/0.3858, allocations: 59.34 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.446e-05/0.3858, allocations: 0 / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.3859, allocations: 11.56 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.3859, allocations: 0 / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02907/0.4149, allocations: 1.645 MB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.53, allocations: 14 kB / 1.332 GB, free: 11.24 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.csv --start-time 0 --stop-time 130 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.052 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.378819211007794]