Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005229/0.005229, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001373/0.001373, allocations: 195.2 kB / 16.67 MB, free: 5.969 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.757/2.757, allocations: 469.8 MB / 0.7425 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.001881, allocations: 71.88 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8384/0.8403, allocations: 159.1 MB / 1.22 GB, free: 2 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.00176/0.8421, allocations: 0.6046 MB / 1.221 GB, free: 1.398 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009637/0.8431, allocations: 0.8156 MB / 1.222 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.742e-05/0.8431, allocations: 0 / 1.222 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.533e-05/0.8432, allocations: 0 / 1.222 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.903e-05/0.8432, allocations: 3.938 kB / 1.222 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001374/0.8434, allocations: 11.98 kB / 1.222 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.975e-05/0.8434, allocations: 19.92 kB / 1.222 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.366e-05/0.8435, allocations: 0 / 1.222 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.361e-05/0.8436, allocations: 11.98 kB / 1.222 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.646e-05/0.8437, allocations: 11.94 kB / 1.222 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.8437, allocations: 3.938 kB / 1.222 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.18e-05/0.8437, allocations: 4 kB / 1.222 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.686e-05/0.8437, allocations: 0 / 1.222 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.84e-05/0.8437, allocations: 15.86 kB / 1.222 GB, free: 500 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.022e-05/0.8438, allocations: 11.97 kB / 1.222 GB, free: 488 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.8438, allocations: 7.938 kB / 1.222 GB, free: 480 kB / 0.9356 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8438, allocations: 0 / 1.222 GB, free: 480 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.8439, allocations: 0 / 1.222 GB, free: 480 kB / 0.9356 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.0004369/0.8443, allocations: 331.2 kB / 1.222 GB, free: 100 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.8443, allocations: 8.031 kB / 1.222 GB, free: 92 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.306e-05/0.8444, allocations: 30.75 kB / 1.222 GB, free: 52 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.229e-05/0.8444, allocations: 4.891 kB / 1.222 GB, free: 48 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.8446, allocations: 168.4 kB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.8446, allocations: 384 / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.8446, allocations: 4.375 kB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.8447, allocations: 34.25 kB / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.8447, allocations: 3.938 kB / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.8447, allocations: 4 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.8448, allocations: 4 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.845e-05/0.8448, allocations: 15.92 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001627/0.845, allocations: 153.6 kB / 1.222 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.363e-05/0.8451, allocations: 30.61 kB / 1.222 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.381e-05/0.8451, allocations: 12.91 kB / 1.222 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.8452, allocations: 3.984 kB / 1.222 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.8452, allocations: 38.56 kB / 1.222 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.8452, allocations: 0 / 1.222 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0002075/0.8454, allocations: 57.56 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.8455, allocations: 51.41 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.447e-05/0.8455, allocations: 105.8 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.8456, allocations: 25.7 kB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.8456, allocations: 88.27 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.8457, allocations: 3.953 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/0.8457, allocations: 13.72 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.8458, allocations: 314.8 kB / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.145e-05/0.8459, allocations: 8 kB / 1.223 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.294e-05/0.8459, allocations: 7.984 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.324e-05/0.846, allocations: 20.91 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.846, allocations: 4 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001163/0.8461, allocations: 49.62 kB / 1.223 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.8461, allocations: 7.938 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.8462, allocations: 3.938 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.8462, allocations: 0 / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.108e-05/0.8463, allocations: 7.938 kB / 1.223 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.8463, allocations: 0 / 1.223 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.526e-05/0.8463, allocations: 7.984 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.8463, allocations: 0 / 1.223 GB, free: 14.64 MB / 0.9512 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.234e-05/0.8464, allocations: 109.9 kB / 1.223 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.8464, allocations: 11.94 kB / 1.223 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.605e-05/0.8464, allocations: 3.125 kB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.8464, allocations: 0 / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.8464, allocations: 0 / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.8465, allocations: 0 / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.8466, allocations: 153.7 kB / 1.223 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.8466, allocations: 0 / 1.223 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.825e-05/0.8466, allocations: 7.984 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.8466, allocations: 7.938 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.8467, allocations: 0 / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.8467, allocations: 0 / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.8467, allocations: 0 / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.8468, allocations: 77.02 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.696e-05/0.8469, allocations: 81.09 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.8469, allocations: 4.188 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.835e-05/0.8469, allocations: 4.031 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.847, allocations: 8 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.847, allocations: 0 / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.784e-05/0.847, allocations: 87.27 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.847, allocations: 0 / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001778/0.8472, allocations: 0 / 1.224 GB, free: 14 MB / 0.9512 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.000488/0.8477, allocations: 0.609 MB / 1.224 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001224/0.8478, allocations: 19.98 kB / 1.224 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.8478, allocations: 0 / 1.224 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.025e-05/0.8479, allocations: 7.984 kB / 1.224 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.848, allocations: 4 kB / 1.224 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000375/0.8484, allocations: 144.3 kB / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.8487, allocations: 0.6768 MB / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.265e-05/0.8488, allocations: 3.938 kB / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.8488, allocations: 7.438 kB / 1.225 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of SimCode: time 2.71e-07/0.8488, allocations: 0 / 1.225 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/0.8703, allocations: 1.125 MB / 1.226 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.034/8.904, allocations: 15.47 kB / 1.226 GB, free: 11.4 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches