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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.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.009644/0.009644, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001696/0.001696, allocations: 195.1 kB / 16.67 MB, free: 5.969 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.646/2.646, allocations: 469.4 MB / 0.7421 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002283/0.002282, allocations: 67.89 kB / 1.064 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9411/0.9434, allocations: 159.1 MB / 1.22 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.002289/0.9458, allocations: 0.5763 MB / 1.22 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 4.585e-05/0.9458, allocations: 7.938 kB / 1.22 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.598e-05/0.9459, allocations: 0 / 1.22 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.547e-05/0.9459, allocations: 0 / 1.22 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.311e-05/0.946, allocations: 0 / 1.22 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 3.888e-05/0.946, allocations: 0 / 1.22 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.043e-05/0.9461, allocations: 15.92 kB / 1.22 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.243e-05/0.9461, allocations: 2.031 kB / 1.22 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.596e-05/0.9462, allocations: 0 / 1.22 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.122e-05/0.9462, allocations: 0 / 1.22 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.9462, allocations: 0 / 1.22 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.933e-06/0.9462, allocations: 4 kB / 1.22 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.9462, allocations: 0 / 1.22 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.979e-05/0.9463, allocations: 8 kB / 1.22 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 7.057e-05/0.9463, allocations: 7.922 kB / 1.22 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.9463, allocations: 0 / 1.22 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.034e-06/0.9464, allocations: 0 / 1.22 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.9464, allocations: 4 kB / 1.22 GB, free: 1.652 MB / 0.9356 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.0003298/0.9467, allocations: 311.5 kB / 1.221 GB, free: 1.297 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.9468, allocations: 8.625 kB / 1.221 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.464e-05/0.9468, allocations: 34.75 kB / 1.221 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.29e-05/0.9468, allocations: 0.9375 kB / 1.221 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.947, allocations: 168.3 kB / 1.221 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.947, allocations: 384 / 1.221 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.947, allocations: 4.375 kB / 1.221 GB, free: 1.039 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.9471, allocations: 34.27 kB / 1.221 GB, free: 1 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.9471, allocations: 3.938 kB / 1.221 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.9471, allocations: 0 / 1.221 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.9471, allocations: 0 / 1.221 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.567e-05/0.9471, allocations: 0 / 1.221 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003234/0.9475, allocations: 379.5 kB / 1.221 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.977e-05/0.9476, allocations: 177 kB / 1.221 GB, free: 400 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.431e-05/0.9476, allocations: 80.14 kB / 1.222 GB, free: 316 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/0.9477, allocations: 79.31 kB / 1.222 GB, free: 236 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/0.9477, allocations: 105.8 kB / 1.222 GB, free: 120 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.163e-06/0.9477, allocations: 0 / 1.222 GB, free: 120 kB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.147e-05/0.9478, allocations: 33.64 kB / 1.222 GB, free: 80 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.484e-05/0.9479, allocations: 126.7 kB / 1.222 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.876e-05/0.948, allocations: 105.8 kB / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.948, allocations: 25.7 kB / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 2.971e-05/0.948, allocations: 80.14 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.948, allocations: 0 / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.312e-05/0.9481, allocations: 13.72 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.9482, allocations: 314.8 kB / 1.222 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.42e-06/0.9482, allocations: 0 / 1.222 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.136e-06/0.9482, allocations: 4.125 kB / 1.222 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.962e-05/0.9482, allocations: 75.28 kB / 1.222 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.532e-05/0.9483, allocations: 79.22 kB / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.224e-05/0.9483, allocations: 33.69 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.348e-05/0.9484, allocations: 83.22 kB / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.671e-05/0.9484, allocations: 83.25 kB / 1.223 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.853e-05/0.9485, allocations: 154.6 kB / 1.223 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.119e-05/0.9486, allocations: 83.22 kB / 1.223 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.555e-05/0.9486, allocations: 154.5 kB / 1.223 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.887e-05/0.9487, allocations: 83.22 kB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/0.9488, allocations: 79.28 kB / 1.223 GB, free: 14.47 MB / 0.9512 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.0001325/0.9489, allocations: 264.9 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-05/0.949, allocations: 101 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.687e-05/0.949, allocations: 116 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.617e-05/0.9491, allocations: 176.3 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001069/0.9492, allocations: 184.2 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.15e-05/0.9493, allocations: 180.2 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.9496, allocations: 401.2 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-05/0.9496, allocations: 109.8 kB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.517e-05/0.9497, allocations: 113 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.132e-05/0.9498, allocations: 180.2 kB / 1.225 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-05/0.9499, allocations: 180.3 kB / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.826e-05/0.9499, allocations: 176.3 kB / 1.225 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.197e-05/0.95, allocations: 184.2 kB / 1.226 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.9502, allocations: 316.1 kB / 1.226 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.654e-05/0.9503, allocations: 182 kB / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.9505, allocations: 180.3 kB / 1.226 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.222e-05/0.9506, allocations: 108.9 kB / 1.226 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.62e-05/0.9507, allocations: 192.2 kB / 1.226 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.38e-05/0.9507, allocations: 104.9 kB / 1.227 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.751e-05/0.9508, allocations: 79.28 kB / 1.227 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9508, allocations: 0 / 1.227 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002873/0.9511, allocations: 0 / 1.227 GB, free: 10.8 MB / 0.9512 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.000464/0.9515, allocations: 0.8166 MB / 1.227 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 4.549e-05/0.9516, allocations: 3.938 kB / 1.227 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9516, allocations: 0 / 1.227 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.9516, allocations: 0 / 1.227 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.952, allocations: 457.6 kB / 1.228 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.9532, allocations: 1.528 MB / 1.229 GB, free: 7.891 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.9536, allocations: 0.6729 MB / 1.23 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.101e-05/0.9536, allocations: 3.938 kB / 1.23 GB, free: 7.188 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.413e-05/0.9536, allocations: 11.42 kB / 1.23 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/0.9536, allocations: 0 / 1.23 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01735/0.971, allocations: 0.9223 MB / 1.231 GB, free: 6.367 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.522/8.493, allocations: 16.77 kB / 1.231 GB, free: 6.355 MB / 0.9512 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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_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.csv","/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