Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",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.001439/0.001439, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001753/0.001753, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.368/1.368, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.571/2.571, allocations: 461.9 MB / 0.7343 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.23 kB / 0.8987 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2944, allocations: 157.4 MB / 1.052 GB, free: 8.652 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001923/0.2963, allocations: 0.6391 MB / 1.053 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 3.793e-05/0.2964, allocations: 11.94 kB / 1.053 GB, free: 8 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.131e-05/0.2964, allocations: 0 / 1.053 GB, free: 8 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.509e-05/0.2965, allocations: 0 / 1.053 GB, free: 8 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.505e-05/0.2965, allocations: 0 / 1.053 GB, free: 8 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 2.648e-05/0.2965, allocations: 0 / 1.053 GB, free: 8 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.414e-05/0.2966, allocations: 4 kB / 1.053 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.068e-05/0.2966, allocations: 0 / 1.053 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.293e-05/0.2967, allocations: 0 / 1.053 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.468e-05/0.2967, allocations: 0 / 1.053 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.2967, allocations: 0 / 1.053 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.486e-06/0.2967, allocations: 0 / 1.053 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.287e-05/0.2967, allocations: 11.98 kB / 1.053 GB, free: 7.984 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.016e-05/0.2968, allocations: 7.938 kB / 1.053 GB, free: 7.977 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 4.736e-05/0.2968, allocations: 4 kB / 1.053 GB, free: 7.973 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2968, allocations: 0 / 1.053 GB, free: 7.973 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2968, allocations: 0 / 1.053 GB, free: 7.973 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.2968, allocations: 0 / 1.053 GB, free: 7.973 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.0002395/0.2971, allocations: 311.6 kB / 1.053 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.2971, allocations: 8.625 kB / 1.053 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.392e-05/0.2971, allocations: 30.75 kB / 1.053 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.628e-05/0.2972, allocations: 4.938 kB / 1.053 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.306e-05/0.2973, allocations: 172.4 kB / 1.054 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-06/0.2973, allocations: 4.312 kB / 1.054 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.2973, allocations: 384 / 1.054 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.51e-05/0.2974, allocations: 38.25 kB / 1.054 GB, free: 7.312 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-06/0.2974, allocations: 3.938 kB / 1.054 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.002e-06/0.2974, allocations: 0 / 1.054 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.106e-06/0.2974, allocations: 0 / 1.054 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.302e-05/0.2974, allocations: 0 / 1.054 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002456/0.2977, allocations: 383.5 kB / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.36e-05/0.2977, allocations: 173 kB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.146e-05/0.2978, allocations: 80.14 kB / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.2978, allocations: 75.28 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.2978, allocations: 117.9 kB / 1.054 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.2978, allocations: 3.938 kB / 1.054 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 5.985e-05/0.2979, allocations: 29.73 kB / 1.054 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.2979, allocations: 130.6 kB / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.794e-05/0.298, allocations: 97.84 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.797e-06/0.298, allocations: 25.7 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.367e-05/0.2981, allocations: 80.14 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.2981, allocations: 128 / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.902e-05/0.2981, allocations: 21.66 kB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.557e-05/0.2982, allocations: 314.8 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.218e-06/0.2982, allocations: 0 / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.815e-06/0.2982, allocations: 0 / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.21e-05/0.2982, allocations: 75.28 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.95e-05/0.2982, allocations: 79.22 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.337e-05/0.2983, allocations: 29.7 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/0.2983, allocations: 84.69 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.571e-05/0.2984, allocations: 83.2 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.124e-05/0.2984, allocations: 154.6 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.048e-05/0.2985, allocations: 79.22 kB / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.071e-05/0.2985, allocations: 150.6 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.621e-05/0.2986, allocations: 79.28 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.2986, allocations: 83.22 kB / 1.056 GB, free: 4.789 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 (0): * Single equations (assignments): 0 * 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 0.0001048/0.2987, allocations: 265.9 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.587e-05/0.2988, allocations: 105 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.552e-05/0.2988, allocations: 108 kB / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-05/0.2989, allocations: 184.3 kB / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.943e-05/0.2989, allocations: 176.3 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.044e-05/0.299, allocations: 184.7 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.2992, allocations: 405.2 kB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.35e-05/0.2992, allocations: 104.9 kB / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.255e-05/0.2993, allocations: 109 kB / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.646e-05/0.2993, allocations: 184.5 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.925e-05/0.2994, allocations: 184.3 kB / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.263e-05/0.2994, allocations: 176.3 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.216e-05/0.2995, allocations: 184.2 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.2996, allocations: 311.7 kB / 1.059 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.688e-05/0.2997, allocations: 182 kB / 1.059 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.116e-05/0.2997, allocations: 184.3 kB / 1.059 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.402e-05/0.2998, allocations: 108.9 kB / 1.059 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.385e-05/0.2998, allocations: 184.2 kB / 1.059 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.2999, allocations: 104.9 kB / 1.059 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.229e-05/0.2999, allocations: 79.28 kB / 1.059 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2999, allocations: 96 / 1.059 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002388/0.3002, allocations: 7.938 kB / 1.059 GB, free: 1.113 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 (0): * Single equations (assignments): 0 * 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.000356/0.3005, allocations: 0.8087 MB / 1.06 GB, free: 280 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 3.067e-05/0.3006, allocations: 4 kB / 1.06 GB, free: 276 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.3006, allocations: 4 kB / 1.06 GB, free: 272 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.3006, allocations: 3.938 kB / 1.06 GB, free: 268 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.3009, allocations: 453.1 kB / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008399/0.3018, allocations: 1.528 MB / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001717/0.3019, allocations: 0.6691 MB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.143e-06/0.302, allocations: 8 kB / 1.063 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.944e-05/0.302, allocations: 7.438 kB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.302, allocations: 0 / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2439/0.5459, allocations: 0.8235 MB / 1.064 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002941/0.5463, allocations: 217.6 kB / 1.064 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/2.138, allocations: 1.25 kB / 1.064 GB, free: 12.56 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches