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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.643/2.643, allocations: 469.4 MB / 0.742 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 66.81 kB / 0.9083 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2683, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001746/0.27, allocations: 0.6111 MB / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008184/0.2709, allocations: 0.8118 MB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.418e-05/0.2709, allocations: 0 / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.075e-05/0.271, allocations: 0 / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.179e-05/0.271, allocations: 3.938 kB / 1.065 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001169/0.2711, allocations: 11.97 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.931e-05/0.2712, allocations: 15.94 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.055e-05/0.2712, allocations: 4 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.364e-05/0.2713, allocations: 19.86 kB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.86e-05/0.2714, allocations: 8 kB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.2714, allocations: 0 / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.145e-06/0.2714, allocations: 0 / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/0.2714, allocations: 3.984 kB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.408e-05/0.2714, allocations: 11.94 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 5.955e-05/0.2715, allocations: 15.91 kB / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.2715, allocations: 0 / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2715, allocations: 0 / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.2715, allocations: 0 / 1.065 GB, free: 12.94 MB / 0.8262 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.000351/0.2719, allocations: 331.7 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.2719, allocations: 20.02 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.926e-05/0.272, allocations: 34.69 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.972e-05/0.272, allocations: 0.9375 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.2721, allocations: 160.4 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.2721, allocations: 4.375 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-06/0.2721, allocations: 384 / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.2722, allocations: 42.19 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.2723, allocations: 3.938 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.2723, allocations: 0 / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.2723, allocations: 4 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.572e-05/0.2724, allocations: 11.98 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000142/0.2725, allocations: 157.7 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.271e-05/0.2726, allocations: 22.61 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.38e-05/0.2726, allocations: 16.91 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.2726, allocations: 0 / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.2727, allocations: 38.5 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.2727, allocations: 0 / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001938/0.2729, allocations: 57.61 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.2729, allocations: 51.41 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.708e-05/0.273, allocations: 101.9 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.273, allocations: 25.7 kB / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.9e-05/0.273, allocations: 88.12 kB / 1.066 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.2731, allocations: 8.031 kB / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/0.2731, allocations: 13.72 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.48e-05/0.2732, allocations: 310.8 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.904e-05/0.2733, allocations: 7.984 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.481e-05/0.2733, allocations: 8 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.81e-05/0.2734, allocations: 24.72 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2734, allocations: 4.062 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001137/0.2735, allocations: 49.69 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.2735, allocations: 7.938 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.2735, allocations: 0 / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.2735, allocations: 0 / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.429e-05/0.2736, allocations: 7.984 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.2736, allocations: 0 / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.959e-05/0.2737, allocations: 0 / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.2737, allocations: 3.984 kB / 1.067 GB, free: 11.12 MB / 0.8262 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.224e-05/0.2737, allocations: 113.9 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.021e-05/0.2738, allocations: 3.938 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.463e-05/0.2738, allocations: 7.125 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.2738, allocations: 4 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2738, allocations: 7.922 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.2738, allocations: 0 / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.273e-05/0.2739, allocations: 157.6 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.2739, allocations: 0 / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.533e-05/0.2739, allocations: 0 / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.274, allocations: 3.938 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.274, allocations: 8 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.274, allocations: 0 / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.274, allocations: 0 / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.2741, allocations: 73.02 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.299e-05/0.2742, allocations: 77.11 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.2742, allocations: 8.188 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.245e-05/0.2742, allocations: 8.031 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.536e-05/0.2742, allocations: 0 / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.2743, allocations: 3.984 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.593e-05/0.2743, allocations: 83.28 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2743, allocations: 0 / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001779/0.2745, allocations: 4 kB / 1.067 GB, free: 10.48 MB / 0.8262 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.0004081/0.2749, allocations: 0.6129 MB / 1.068 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001144/0.275, allocations: 15.98 kB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.275, allocations: 4 kB / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.072e-05/0.2751, allocations: 7.938 kB / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.2752, allocations: 5.656 kB / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003613/0.2756, allocations: 144.4 kB / 1.068 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.2758, allocations: 0.6768 MB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.974e-05/0.2758, allocations: 0 / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.2759, allocations: 7.438 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of SimCode: time 2.01e-07/0.2759, allocations: 0 / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0162/0.2921, allocations: 1.1 MB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7/7.292, allocations: 7.922 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.fmu > 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.csv","/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) Reference file matches