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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.008272/0.008272, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001928/0.001928, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.502/1.502, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.894/2.894, allocations: 469.4 MB / 0.7422 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 63.84 kB / 1.064 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.317, allocations: 159.1 MB / 1.22 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.00181/0.3189, allocations: 0.6183 MB / 1.22 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009833/0.3199, allocations: 0.8019 MB / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.146e-05/0.3199, allocations: 0 / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.893e-05/0.32, allocations: 3.984 kB / 1.221 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.991e-05/0.32, allocations: 3.938 kB / 1.221 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000146/0.3202, allocations: 8 kB / 1.221 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.563e-05/0.3203, allocations: 19.92 kB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.04e-05/0.3203, allocations: 3.984 kB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.289e-05/0.3204, allocations: 15.94 kB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.147e-05/0.3205, allocations: 7.984 kB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.3205, allocations: 0 / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.485e-06/0.3205, allocations: 4 kB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.3205, allocations: 0 / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.761e-05/0.3206, allocations: 7.938 kB / 1.221 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 7.571e-05/0.3206, allocations: 23.89 kB / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3206, allocations: 0 / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.019e-05/0.3207, allocations: 4 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.3207, allocations: 3.938 kB / 1.221 GB, free: 13.07 MB / 0.9825 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.0003629/0.321, allocations: 327.5 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.3211, allocations: 11.97 kB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.94e-05/0.3211, allocations: 30.75 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.382e-05/0.3211, allocations: 8.891 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.3213, allocations: 168.4 kB / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.3213, allocations: 384 / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.3213, allocations: 384 / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.3214, allocations: 34.27 kB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3214, allocations: 11.92 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.3214, allocations: 0 / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3214, allocations: 0 / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.538e-05/0.3215, allocations: 8 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001455/0.3217, allocations: 157.6 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.739e-05/0.3217, allocations: 26.56 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.003e-05/0.3218, allocations: 8.922 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.3218, allocations: 4 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.3218, allocations: 38.55 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.3219, allocations: 0 / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0002007/0.3221, allocations: 53.56 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.3221, allocations: 55.41 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.25e-05/0.3222, allocations: 105.8 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.3222, allocations: 25.83 kB / 1.222 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/0.3223, allocations: 92.14 kB / 1.222 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.3223, allocations: 7.891 kB / 1.222 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/0.3223, allocations: 9.719 kB / 1.222 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.3224, allocations: 314.8 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.993e-05/0.3225, allocations: 8 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.898e-05/0.3225, allocations: 15.92 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.827e-05/0.3226, allocations: 16.92 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.3226, allocations: 0 / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001195/0.3227, allocations: 53.61 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.3227, allocations: 7.938 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.3227, allocations: 4 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.3228, allocations: 0 / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.194e-05/0.3228, allocations: 0 / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.3228, allocations: 0 / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.895e-05/0.3229, allocations: 4 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.3229, allocations: 8.016 kB / 1.223 GB, free: 11.25 MB / 0.9825 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.343e-05/0.323, allocations: 110.4 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.243e-05/0.323, allocations: 11.92 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.526e-05/0.323, allocations: 3.125 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.323, allocations: 0 / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.323, allocations: 0 / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.323, allocations: 3.938 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.3231, allocations: 153.7 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3231, allocations: 0 / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.775e-05/0.3232, allocations: 11.98 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3232, allocations: 3.938 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.3232, allocations: 0 / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3232, allocations: 0 / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3232, allocations: 0 / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.3234, allocations: 77.02 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.382e-05/0.3234, allocations: 77.11 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.3234, allocations: 11.95 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.9e-05/0.3234, allocations: 4 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/0.3235, allocations: 0 / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.3235, allocations: 256 / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.94e-05/0.3235, allocations: 87.28 kB / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3235, allocations: 0 / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001786/0.3237, allocations: 4 kB / 1.223 GB, free: 10.61 MB / 0.9825 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.0004387/0.3242, allocations: 0.6085 MB / 1.224 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001114/0.3243, allocations: 19.98 kB / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.3243, allocations: 0 / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.085e-05/0.3244, allocations: 15.92 kB / 1.224 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.3245, allocations: 4.156 kB / 1.224 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003445/0.3248, allocations: 140.1 kB / 1.224 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.3251, allocations: 0.6768 MB / 1.225 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.425e-05/0.3251, allocations: 0 / 1.225 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.3252, allocations: 11.44 kB / 1.225 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of SimCode: time 2.11e-07/0.3252, allocations: 3.938 kB / 1.225 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01847/0.3437, allocations: 1.113 MB / 1.226 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.315/7.658, allocations: 15.91 kB / 1.226 GB, free: 8.008 MB / 0.9825 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