Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_10_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_10_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.008585/0.008585, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.002271/0.002271, allocations: 196.9 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.668/2.668, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 5.046/5.046, allocations: 437.1 MB / 0.7105 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002831/0.002831, allocations: 67.89 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4952/0.4981, allocations: 151.6 MB / 1.166 GB, free: 7.336 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.007862/0.506, allocations: 0.536 MB / 1.167 GB, free: 6.797 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 6.237e-05/0.5061, allocations: 8 kB / 1.167 GB, free: 6.789 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.778e-05/0.5062, allocations: 0 / 1.167 GB, free: 6.789 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.854e-05/0.5063, allocations: 3.938 kB / 1.167 GB, free: 6.785 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.359e-05/0.5064, allocations: 0 / 1.167 GB, free: 6.785 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.588e-05/0.5064, allocations: 0 / 1.167 GB, free: 6.785 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.496e-05/0.5065, allocations: 0 / 1.167 GB, free: 6.785 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.65e-05/0.5066, allocations: 4 kB / 1.167 GB, free: 6.781 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.688e-05/0.5066, allocations: 0 / 1.167 GB, free: 6.781 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.679e-05/0.5066, allocations: 3.984 kB / 1.167 GB, free: 6.777 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.5067, allocations: 3.938 kB / 1.167 GB, free: 6.773 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.16e-06/0.5067, allocations: 4 kB / 1.167 GB, free: 6.77 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.5067, allocations: 0 / 1.167 GB, free: 6.77 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.427e-05/0.5067, allocations: 0 / 1.167 GB, free: 6.77 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.706e-05/0.5068, allocations: 8 kB / 1.167 GB, free: 6.762 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.5068, allocations: 0 / 1.167 GB, free: 6.762 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.414e-06/0.5069, allocations: 0 / 1.167 GB, free: 6.762 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.5069, allocations: 3.984 kB / 1.167 GB, free: 6.758 MB / 0.92 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.0004752/0.5074, allocations: 311.8 kB / 1.167 GB, free: 6.402 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.325e-05/0.5074, allocations: 11.97 kB / 1.167 GB, free: 6.391 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.838e-05/0.5075, allocations: 34.75 kB / 1.167 GB, free: 6.348 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.5076, allocations: 0.9375 kB / 1.167 GB, free: 6.348 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.5078, allocations: 168.3 kB / 1.167 GB, free: 6.145 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.5078, allocations: 4.375 kB / 1.167 GB, free: 6.141 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.5078, allocations: 384 / 1.167 GB, free: 6.141 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.508, allocations: 34.2 kB / 1.167 GB, free: 6.102 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.508, allocations: 3.938 kB / 1.167 GB, free: 6.098 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.508, allocations: 0 / 1.167 GB, free: 6.098 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.508, allocations: 0 / 1.167 GB, free: 6.098 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.26e-05/0.5081, allocations: 7.938 kB / 1.167 GB, free: 6.09 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006045/0.5087, allocations: 387.5 kB / 1.168 GB, free: 5.66 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.5089, allocations: 173 kB / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.509, allocations: 80.14 kB / 1.168 GB, free: 5.398 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.881e-05/0.5091, allocations: 75.28 kB / 1.168 GB, free: 5.324 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.5e-05/0.5092, allocations: 109.8 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.342e-06/0.5092, allocations: 0 / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 0.0001128/0.5093, allocations: 30.08 kB / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/0.5095, allocations: 134.6 kB / 1.168 GB, free: 5.027 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.5097, allocations: 97.84 kB / 1.168 GB, free: 4.922 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.5097, allocations: 25.7 kB / 1.168 GB, free: 4.891 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.838e-05/0.5098, allocations: 84.27 kB / 1.168 GB, free: 4.805 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.619e-06/0.5098, allocations: 0 / 1.168 GB, free: 4.805 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/0.5099, allocations: 9.719 kB / 1.168 GB, free: 4.789 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002162/0.5101, allocations: 314.8 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.144e-05/0.5101, allocations: 4 kB / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.179e-06/0.5101, allocations: 4 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.428e-05/0.5102, allocations: 75.28 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.981e-05/0.5103, allocations: 79.22 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of matching and sorting (n=0) (initialization): time 8.813e-05/0.5104, allocations: 29.7 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.681e-05/0.5105, allocations: 89.14 kB / 1.169 GB, free: 4.191 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.199e-05/0.5105, allocations: 83.2 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001118/0.5107, allocations: 150.6 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.62e-05/0.5107, allocations: 79.22 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001033/0.5108, allocations: 154.6 kB / 1.169 GB, free: 3.73 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.511, allocations: 75.28 kB / 1.17 GB, free: 3.656 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.284e-05/0.5111, allocations: 87.22 kB / 1.17 GB, free: 3.57 MB / 0.92 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.0002025/0.5113, allocations: 264.3 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.513e-05/0.5114, allocations: 105 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.68e-05/0.5115, allocations: 108 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001109/0.5116, allocations: 176.3 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001209/0.5118, allocations: 188.3 kB / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001128/0.5119, allocations: 184.1 kB / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000495/0.5124, allocations: 401.2 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.081e-05/0.5125, allocations: 108.9 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.021e-05/0.5126, allocations: 101 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001112/0.5127, allocations: 196.2 kB / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/0.5128, allocations: 180.2 kB / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001327/0.513, allocations: 180.6 kB / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001048/0.5131, allocations: 180.2 kB / 1.172 GB, free: 1.102 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.5133, allocations: 319.7 kB / 1.172 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.5135, allocations: 178.1 kB / 1.172 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.5136, allocations: 176.3 kB / 1.173 GB, free: 396 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.5137, allocations: 108.9 kB / 1.173 GB, free: 280 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.5139, allocations: 180.2 kB / 1.173 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.514, allocations: 104.9 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.883e-05/0.5141, allocations: 87.28 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5141, allocations: 0 / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004362/0.5145, allocations: 0 / 1.173 GB, free: 15.89 MB / 0.9356 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.0007884/0.5153, allocations: 0.8087 MB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.434e-05/0.5154, allocations: 4.094 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5154, allocations: 0 / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.724e-06/0.5154, allocations: 7.938 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006918/0.5161, allocations: 451.7 kB / 1.174 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006207/0.5224, allocations: 1.524 MB / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000617/0.523, allocations: 0.673 MB / 1.176 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.699e-05/0.5231, allocations: 0 / 1.176 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.5231, allocations: 7.438 kB / 1.176 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of SimCode: time 1.363e-06/0.5231, allocations: 0 / 1.176 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07027/0.5934, allocations: 0.9244 MB / 1.177 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.49/18.08, allocations: 17.31 kB / 1.177 GB, free: 11.46 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches