Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.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.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_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.000737/0.000737, allocations: 98.19 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.004517/0.004517, allocations: 172.6 kB / 16.27 MB, free: 6.648 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.28/1.28, 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.465/2.465, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003277, allocations: 12.94 kB / 0.9029 GB, free: 36.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2377, allocations: 159.6 MB / 1.059 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.000596/0.2384, allocations: 282 kB / 1.059 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 3.377e-05/0.2384, allocations: 7.984 kB / 1.059 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.744e-05/0.2384, allocations: 3.938 kB / 1.059 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.145e-05/0.2385, allocations: 0 / 1.059 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.363e-05/0.2385, allocations: 0 / 1.059 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 2.421e-05/0.2385, allocations: 0 / 1.059 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.933e-05/0.2386, allocations: 7.984 kB / 1.059 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.11e-05/0.2386, allocations: 4 kB / 1.059 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.296e-05/0.2386, allocations: 0 / 1.059 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.358e-05/0.2386, allocations: 0 / 1.059 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.2387, allocations: 0 / 1.059 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.946e-06/0.2387, allocations: 0 / 1.059 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.033e-05/0.2387, allocations: 0 / 1.059 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.754e-05/0.2387, allocations: 29.7 kB / 1.059 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 4.283e-05/0.2388, allocations: 11.88 kB / 1.059 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2388, allocations: 4 kB / 1.059 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2388, allocations: 0 / 1.059 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.026e-06/0.2388, allocations: 0 / 1.059 GB, free: 4.496 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.0002152/0.239, allocations: 311.5 kB / 1.059 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.2391, allocations: 19.97 kB / 1.059 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.609e-05/0.2391, allocations: 30.75 kB / 1.059 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.643e-05/0.2391, allocations: 4.922 kB / 1.059 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.398e-05/0.2392, allocations: 160.4 kB / 1.06 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-06/0.2392, allocations: 384 / 1.06 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.084e-06/0.2392, allocations: 4.375 kB / 1.06 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.552e-05/0.2393, allocations: 30.25 kB / 1.06 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.2393, allocations: 7.938 kB / 1.06 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.461e-06/0.2393, allocations: 0 / 1.06 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.2393, allocations: 0 / 1.06 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.318e-05/0.2393, allocations: 4 kB / 1.06 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002314/0.2396, allocations: 379.5 kB / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.307e-05/0.2396, allocations: 177.1 kB / 1.06 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.579e-05/0.2397, allocations: 84.14 kB / 1.06 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.2397, allocations: 75.28 kB / 1.06 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.2397, allocations: 105.8 kB / 1.06 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.2397, allocations: 0 / 1.06 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.204e-05/0.2398, allocations: 37.67 kB / 1.06 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.2399, allocations: 126.7 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.068e-05/0.2399, allocations: 101.8 kB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.2399, allocations: 29.7 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.141e-05/0.24, allocations: 80.14 kB / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.362e-06/0.24, allocations: 0 / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.566e-05/0.24, allocations: 9.719 kB / 1.061 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.667e-05/0.2401, allocations: 310.8 kB / 1.061 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.625e-06/0.2401, allocations: 0 / 1.061 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.552e-06/0.2401, allocations: 0 / 1.061 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.993e-05/0.2401, allocations: 83.34 kB / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.995e-05/0.2401, allocations: 79.22 kB / 1.061 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.717e-05/0.2402, allocations: 33.64 kB / 1.061 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/0.2402, allocations: 79.28 kB / 1.061 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.258e-05/0.2403, allocations: 83.28 kB / 1.061 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.513e-05/0.2403, allocations: 158.5 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.794e-05/0.2403, allocations: 75.28 kB / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.815e-05/0.2404, allocations: 154.6 kB / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.494e-05/0.2404, allocations: 79.22 kB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.2405, allocations: 79.28 kB / 1.062 GB, free: 1.32 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 8.874e-05/0.2405, allocations: 268.3 kB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.848e-05/0.2406, allocations: 104.9 kB / 1.062 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.466e-05/0.2407, allocations: 116.1 kB / 1.062 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.184e-05/0.2407, allocations: 176.3 kB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.476e-05/0.2408, allocations: 180.2 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.594e-05/0.2408, allocations: 176.3 kB / 1.063 GB, free: 284 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.241, allocations: 413.1 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.66e-05/0.2411, allocations: 105 kB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.206e-05/0.2411, allocations: 109 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.206e-05/0.2412, allocations: 184.2 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.296e-05/0.2412, allocations: 180.6 kB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.986e-05/0.2413, allocations: 184.2 kB / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.754e-05/0.2413, allocations: 184.3 kB / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.2415, allocations: 307.7 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.015e-05/0.2415, allocations: 194 kB / 1.065 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.667e-05/0.2416, allocations: 180.2 kB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.294e-05/0.2417, allocations: 101 kB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.2417, allocations: 176.3 kB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.2417, allocations: 112.9 kB / 1.065 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.905e-05/0.2418, allocations: 79.27 kB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2418, allocations: 0 / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002239/0.242, allocations: 0 / 1.065 GB, free: 13.64 MB / 0.8262 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.0003407/0.2424, allocations: 0.8049 MB / 1.066 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 3.153e-05/0.2424, allocations: 11.92 kB / 1.066 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2424, allocations: 0 / 1.066 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.705e-06/0.2424, allocations: 0 / 1.066 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.2428, allocations: 0.5224 MB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008138/0.2436, allocations: 1.522 MB / 1.068 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/0.2438, allocations: 0.6731 MB / 1.069 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.855e-06/0.2438, allocations: 0 / 1.069 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.944e-05/0.2438, allocations: 7.438 kB / 1.069 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.2438, allocations: 4 kB / 1.069 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5778/0.8216, allocations: 0.7301 MB / 1.07 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/0.8218, allocations: 219.7 kB / 1.07 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/2.456, allocations: 0 / 1.07 GB, free: 9.141 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches