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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001028/0.001028, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.006759/0.006759, allocations: 169 kB / 16.26 MB, free: 6.652 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.331/1.331, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.558/2.558, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003116/0.0003116, allocations: 14.81 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.282, allocations: 159.6 MB / 1.059 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.0006476/0.2827, allocations: 351.3 kB / 1.059 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007467/0.2835, allocations: 0.8118 MB / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.975e-05/0.2835, allocations: 4 kB / 1.06 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.899e-06/0.2835, allocations: 0 / 1.06 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.523e-05/0.2836, allocations: 3.938 kB / 1.06 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.889e-05/0.2837, allocations: 4 kB / 1.06 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.816e-05/0.2837, allocations: 19.92 kB / 1.06 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.2838, allocations: 4 kB / 1.06 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.135e-05/0.2838, allocations: 11.92 kB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.58e-05/0.2839, allocations: 11.98 kB / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.2839, allocations: 0 / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.842e-06/0.2839, allocations: 4 kB / 1.06 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.092e-05/0.2839, allocations: 0 / 1.06 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.284, allocations: 33.64 kB / 1.06 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.23e-05/0.284, allocations: 19.91 kB / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.284, allocations: 0 / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.282e-06/0.284, allocations: 0 / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.056e-06/0.284, allocations: 0 / 1.06 GB, free: 3.547 MB / 0.8106 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.0003046/0.2844, allocations: 323.8 kB / 1.06 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.2844, allocations: 11.97 kB / 1.06 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.561e-05/0.2844, allocations: 38.75 kB / 1.06 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.688e-05/0.2844, allocations: 0.9375 kB / 1.06 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.103e-05/0.2845, allocations: 172.2 kB / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.2846, allocations: 384 / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.2846, allocations: 8.359 kB / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.2847, allocations: 38.25 kB / 1.061 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.2847, allocations: 3.938 kB / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.281e-06/0.2847, allocations: 0 / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.2847, allocations: 11.94 kB / 1.061 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.776e-05/0.2848, allocations: 15.98 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001184/0.2849, allocations: 149.7 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.424e-05/0.285, allocations: 34.53 kB / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.214e-05/0.285, allocations: 16.92 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.285, allocations: 0 / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.2851, allocations: 30.56 kB / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.2851, allocations: 0 / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001962/0.2853, allocations: 61.61 kB / 1.061 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.2853, allocations: 55.53 kB / 1.061 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.21e-05/0.2854, allocations: 105.8 kB / 1.061 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.2854, allocations: 29.64 kB / 1.061 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.782e-05/0.2854, allocations: 84.14 kB / 1.061 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.2855, allocations: 7.906 kB / 1.061 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.97e-05/0.2855, allocations: 9.719 kB / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.755e-05/0.2856, allocations: 310.8 kB / 1.061 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.976e-05/0.2856, allocations: 11.98 kB / 1.062 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.39e-05/0.2856, allocations: 12 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.728e-05/0.2857, allocations: 24.78 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2857, allocations: 0 / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000101/0.2858, allocations: 53.69 kB / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.2859, allocations: 12.03 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.2859, allocations: 0 / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/0.2859, allocations: 0 / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.847e-05/0.2859, allocations: 12.17 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.286, allocations: 0 / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.214e-05/0.286, allocations: 8 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-06/0.286, allocations: 0 / 1.062 GB, free: 1.691 MB / 0.8106 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 5.317e-05/0.2861, allocations: 105.8 kB / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.141e-05/0.2861, allocations: 11.94 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.43e-05/0.2861, allocations: 11.11 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.2861, allocations: 0 / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.2861, allocations: 0 / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.2861, allocations: 0 / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.595e-05/0.2862, allocations: 149.7 kB / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.2862, allocations: 0 / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.509e-05/0.2862, allocations: 4 kB / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.2862, allocations: 3.938 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-06/0.2863, allocations: 0 / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.2863, allocations: 4 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2863, allocations: 4 kB / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.2864, allocations: 81.05 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.643e-05/0.2864, allocations: 84.95 kB / 1.062 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.2864, allocations: 3.938 kB / 1.062 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.076e-05/0.2865, allocations: 8.031 kB / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.139e-05/0.2865, allocations: 3.984 kB / 1.062 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.2865, allocations: 0 / 1.062 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.17e-05/0.2865, allocations: 79.28 kB / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2865, allocations: 0 / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001692/0.2867, allocations: 4 kB / 1.062 GB, free: 1.051 MB / 0.8106 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.0003392/0.2871, allocations: 0.6163 MB / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001015/0.2872, allocations: 19.92 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2872, allocations: 0 / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.343e-05/0.2872, allocations: 16.09 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001226/0.2874, allocations: 5.812 kB / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002792/0.2876, allocations: 146.3 kB / 1.063 GB, free: 180 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.2878, allocations: 0.6731 MB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.869e-05/0.2879, allocations: 0 / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.649e-05/0.2879, allocations: 11.42 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.2879, allocations: 4.062 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.008962/0.2969, allocations: 0.9037 MB / 1.064 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/0.2971, allocations: 208.5 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/1.877, allocations: 0 / 1.065 GB, free: 14.43 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 & /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=50 --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