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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.005349/0.005349, allocations: 98.8 kB / 15.73 MB, free: 6.039 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.001494/0.001495, allocations: 195.3 kB / 16.68 MB, free: 5.961 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.381/1.381, 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 12.0.0-master/package.mo): time 2.776/2.776, allocations: 482.6 MB / 0.755 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 67.91 kB / 1.083 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3022, allocations: 162.3 MB / 1.242 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002412/0.3047, allocations: 0.6143 MB / 1.242 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.306, allocations: 0.8001 MB / 1.243 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5e-05/0.3061, allocations: 4 kB / 1.243 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.581e-05/0.3061, allocations: 0 / 1.243 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.744e-05/0.3062, allocations: 11.92 kB / 1.243 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.3064, allocations: 7.984 kB / 1.243 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.3065, allocations: 19.92 kB / 1.243 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.577e-05/0.3066, allocations: 0 / 1.243 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.3068, allocations: 15.88 kB / 1.243 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.315e-05/0.3068, allocations: 7.984 kB / 1.243 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.3069, allocations: 4 kB / 1.243 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.029e-05/0.3069, allocations: 4 kB / 1.243 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.3069, allocations: 0 / 1.243 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.881e-05/0.3069, allocations: 11.94 kB / 1.243 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.896e-05/0.3071, allocations: 19.89 kB / 1.243 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3071, allocations: 0 / 1.243 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3071, allocations: 0 / 1.243 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3071, allocations: 0 / 1.243 GB, free: 8.246 MB / 0.9981 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.0005353/0.3076, allocations: 327.5 kB / 1.244 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.3077, allocations: 8.031 kB / 1.244 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.344e-05/0.3077, allocations: 34.75 kB / 1.244 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.643e-05/0.3078, allocations: 4.938 kB / 1.244 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.308, allocations: 164.3 kB / 1.244 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.308, allocations: 384 / 1.244 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.308, allocations: 8.344 kB / 1.244 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.3082, allocations: 42.2 kB / 1.244 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3082, allocations: 3.938 kB / 1.244 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.3082, allocations: 0 / 1.244 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3082, allocations: 0 / 1.244 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.146e-05/0.3083, allocations: 15.98 kB / 1.244 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002027/0.3085, allocations: 153.7 kB / 1.244 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.001e-05/0.3086, allocations: 22.56 kB / 1.244 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.746e-05/0.3086, allocations: 12.92 kB / 1.244 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.3086, allocations: 0 / 1.244 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.3087, allocations: 42.44 kB / 1.244 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.3087, allocations: 4 kB / 1.244 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0002316/0.3089, allocations: 57.61 kB / 1.244 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.309, allocations: 51.41 kB / 1.244 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.3091, allocations: 105.8 kB / 1.244 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.3091, allocations: 25.7 kB / 1.244 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/0.3092, allocations: 84.14 kB / 1.244 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.3092, allocations: 7.891 kB / 1.245 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.3092, allocations: 17.84 kB / 1.245 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3094, allocations: 318.8 kB / 1.245 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.819e-05/0.3094, allocations: 4 kB / 1.245 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.747e-05/0.3095, allocations: 4 kB / 1.245 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.644e-05/0.3096, allocations: 24.78 kB / 1.245 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3096, allocations: 3.938 kB / 1.245 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.00011/0.3097, allocations: 53.73 kB / 1.245 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3097, allocations: 11.94 kB / 1.245 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3097, allocations: 0 / 1.245 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3097, allocations: 0 / 1.245 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.962e-05/0.3098, allocations: 4 kB / 1.245 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.3098, allocations: 0 / 1.245 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.677e-05/0.3099, allocations: 0 / 1.245 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.3099, allocations: 0 / 1.245 GB, free: 6.426 MB / 0.9981 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.572e-05/0.31, allocations: 113.8 kB / 1.245 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.729e-06/0.31, allocations: 7.969 kB / 1.245 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.284e-05/0.31, allocations: 7.125 kB / 1.245 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.31, allocations: 0 / 1.245 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.31, allocations: 0 / 1.245 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.31, allocations: 4 kB / 1.245 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.3102, allocations: 149.6 kB / 1.245 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.3102, allocations: 0 / 1.245 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.464e-05/0.3102, allocations: 7.984 kB / 1.245 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3102, allocations: 3.938 kB / 1.245 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.3102, allocations: 0 / 1.245 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.3102, allocations: 4 kB / 1.245 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3103, allocations: 7.984 kB / 1.245 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.3104, allocations: 65.12 kB / 1.245 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.739e-05/0.3105, allocations: 85.06 kB / 1.245 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.3105, allocations: 3.938 kB / 1.245 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.015e-05/0.3105, allocations: 7.984 kB / 1.245 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.3106, allocations: 4.031 kB / 1.245 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.3106, allocations: 0 / 1.245 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.452e-05/0.3106, allocations: 83.53 kB / 1.245 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3106, allocations: 3.938 kB / 1.245 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001904/0.3108, allocations: 4 kB / 1.245 GB, free: 5.777 MB / 0.9981 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.0004931/0.3113, allocations: 0.6168 MB / 1.246 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001251/0.3115, allocations: 11.98 kB / 1.246 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3115, allocations: 0 / 1.246 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.554e-05/0.3115, allocations: 15.98 kB / 1.246 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/0.3117, allocations: 5.344 kB / 1.246 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003651/0.312, allocations: 144.3 kB / 1.246 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.3123, allocations: 0.6729 MB / 1.247 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.573e-05/0.3123, allocations: 3.984 kB / 1.247 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.308e-05/0.3124, allocations: 7.438 kB / 1.247 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of SimCode: time 2.11e-07/0.3124, allocations: 0 / 1.247 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6794/0.9917, allocations: 1.109 MB / 1.248 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/11.53, allocations: 5.688 kB / 1.248 GB, free: 3.184 MB / 0.9981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin_fmu --startTime=0 --stopTime=130 --timeout=400 --tolerance=1e-06 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.mat","/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