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.006767/0.006766, allocations: 101.1 kB / 15.73 MB, free: 5.508 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.001367/0.001367, allocations: 195.6 kB / 16.67 MB, free: 5.438 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.71/2.71, allocations: 437 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 63.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3216, allocations: 151.6 MB / 1.166 GB, free: 7.273 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002117/0.3237, allocations: 0.6114 MB / 1.167 GB, free: 6.66 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.3249, allocations: 0.816 MB / 1.168 GB, free: 5.832 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.803e-05/0.325, allocations: 0 / 1.168 GB, free: 5.832 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.901e-05/0.325, allocations: 3.938 kB / 1.168 GB, free: 5.828 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.451e-05/0.3251, allocations: 3.984 kB / 1.168 GB, free: 5.824 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001618/0.3253, allocations: 11.88 kB / 1.168 GB, free: 5.812 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.992e-05/0.3254, allocations: 23.92 kB / 1.168 GB, free: 5.789 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.882e-05/0.3254, allocations: 4 kB / 1.168 GB, free: 5.785 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.3255, allocations: 7.984 kB / 1.168 GB, free: 5.777 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.02e-05/0.3256, allocations: 11.94 kB / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.3256, allocations: 0 / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.109e-05/0.3257, allocations: 4 kB / 1.168 GB, free: 5.762 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.707e-05/0.3257, allocations: 3.984 kB / 1.168 GB, free: 5.758 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.019e-05/0.3257, allocations: 7.922 kB / 1.168 GB, free: 5.75 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.282e-05/0.3258, allocations: 11.98 kB / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3258, allocations: 0 / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3258, allocations: 0 / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.3259, allocations: 8 kB / 1.168 GB, free: 5.73 MB / 0.92 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.0004617/0.3263, allocations: 331.7 kB / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.3264, allocations: 8.031 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.641e-05/0.3264, allocations: 30.75 kB / 1.168 GB, free: 5.309 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.151e-05/0.3265, allocations: 8.891 kB / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.3266, allocations: 168.3 kB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.3266, allocations: 384 / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.3266, allocations: 384 / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.3268, allocations: 38.25 kB / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.3268, allocations: 7.938 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.3268, allocations: 4 kB / 1.168 GB, free: 5.043 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.3268, allocations: 3.938 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.921e-05/0.3269, allocations: 15.92 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.3271, allocations: 153.7 kB / 1.168 GB, free: 4.824 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.099e-05/0.3272, allocations: 22.52 kB / 1.168 GB, free: 4.793 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.205e-05/0.3272, allocations: 20.91 kB / 1.168 GB, free: 4.77 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.3272, allocations: 3.984 kB / 1.168 GB, free: 4.766 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.3273, allocations: 30.56 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.3273, allocations: 0 / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.000215/0.3275, allocations: 53.62 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.3276, allocations: 55.39 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.856e-05/0.3276, allocations: 113.9 kB / 1.169 GB, free: 4.48 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.3277, allocations: 25.7 kB / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.76e-05/0.3277, allocations: 80.14 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.3277, allocations: 7.953 kB / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.3278, allocations: 17.7 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002713/0.3281, allocations: 310.8 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.405e-05/0.3281, allocations: 4 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.984e-05/0.3281, allocations: 11.98 kB / 1.169 GB, free: 4.008 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.581e-05/0.3282, allocations: 24.91 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3282, allocations: 0 / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001007/0.3283, allocations: 45.69 kB / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.3283, allocations: 7.938 kB / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3284, allocations: 0 / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3284, allocations: 7.938 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.499e-05/0.3284, allocations: 0 / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.3284, allocations: 0 / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.08e-05/0.3285, allocations: 12.02 kB / 1.169 GB, free: 3.902 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.3285, allocations: 0 / 1.169 GB, free: 3.902 MB / 0.92 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 7.696e-05/0.3286, allocations: 108.7 kB / 1.169 GB, free: 3.789 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.3286, allocations: 7.938 kB / 1.169 GB, free: 3.781 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.704e-05/0.3286, allocations: 3.125 kB / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.3286, allocations: 0 / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.3286, allocations: 0 / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3286, allocations: 0 / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.3288, allocations: 153.7 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.3288, allocations: 11.92 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.653e-05/0.3288, allocations: 4 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.3288, allocations: 3.938 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.3289, allocations: 0 / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3289, allocations: 0 / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3289, allocations: 0 / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.329, allocations: 81 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/0.3291, allocations: 81.14 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.3291, allocations: 7.875 kB / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.8e-05/0.3292, allocations: 0 / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.3292, allocations: 8 kB / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-06/0.3292, allocations: 0 / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.411e-05/0.3293, allocations: 87.52 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3293, allocations: 0 / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000198/0.3295, allocations: 4 kB / 1.17 GB, free: 3.258 MB / 0.92 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.0005095/0.33, allocations: 0.6124 MB / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001188/0.3301, allocations: 11.94 kB / 1.17 GB, free: 2.602 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3301, allocations: 0 / 1.17 GB, free: 2.602 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.095e-05/0.3302, allocations: 20.08 kB / 1.17 GB, free: 2.582 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.3303, allocations: 2.5 kB / 1.17 GB, free: 2.582 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/0.3307, allocations: 132.2 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.331, allocations: 0.6768 MB / 1.171 GB, free: 1.711 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.054e-05/0.3311, allocations: 3.984 kB / 1.171 GB, free: 1.707 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.628e-05/0.3311, allocations: 7.438 kB / 1.171 GB, free: 1.699 MB / 0.92 GB Notification: Performance of SimCode: time 8.71e-07/0.3311, allocations: 0 / 1.171 GB, free: 1.699 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01958/0.3507, allocations: 1.118 MB / 1.172 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.37/7.721, allocations: 7.953 kB / 1.172 GB, free: 0.668 MB / 0.92 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.csv --start-time 0 --stop-time 130 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.052 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.csv","/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