Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.004937/0.004937, allocations: 104.7 kB / 15.74 MB, free: 6.492 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.001003/0.001003, allocations: 191.7 kB / 16.68 MB, free: 6.375 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.246/1.246, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.065/2.065, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 64.53 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1947, allocations: 140.4 MB / 1.087 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.001313/0.196, allocations: 0.5788 MB / 1.088 GB, free: 1.395 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 3.119e-05/0.1961, allocations: 3.938 kB / 1.088 GB, free: 1.391 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.368e-05/0.1961, allocations: 4 kB / 1.088 GB, free: 1.387 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.838e-05/0.1961, allocations: 3.938 kB / 1.088 GB, free: 1.383 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 2.437e-05/0.1962, allocations: 0 / 1.088 GB, free: 1.383 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 2.764e-05/0.1962, allocations: 0 / 1.088 GB, free: 1.383 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.173e-05/0.1963, allocations: 7.984 kB / 1.088 GB, free: 1.375 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.743e-05/0.1963, allocations: 0 / 1.088 GB, free: 1.375 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.229e-05/0.1963, allocations: 4 kB / 1.088 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 1.336e-05/0.1963, allocations: 0 / 1.088 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.877e-06/0.1963, allocations: 0 / 1.088 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.756e-06/0.1964, allocations: 0 / 1.088 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.638e-06/0.1964, allocations: 4 kB / 1.088 GB, free: 1.367 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.863e-05/0.1964, allocations: 7.938 kB / 1.088 GB, free: 1.359 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 4.644e-05/0.1964, allocations: 7.984 kB / 1.088 GB, free: 1.352 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1964, allocations: 0 / 1.088 GB, free: 1.352 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1965, allocations: 0 / 1.088 GB, free: 1.352 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.1965, allocations: 0 / 1.088 GB, free: 1.352 MB / 0.8419 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.0002255/0.1967, allocations: 311.6 kB / 1.088 GB, free: 0.9961 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.1967, allocations: 8.031 kB / 1.088 GB, free: 0.9883 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.485e-05/0.1968, allocations: 34.75 kB / 1.088 GB, free: 0.9453 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.736e-05/0.1968, allocations: 4.922 kB / 1.088 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.461e-05/0.1969, allocations: 168.3 kB / 1.089 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.4e-06/0.1969, allocations: 384 / 1.089 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.063e-06/0.1969, allocations: 384 / 1.089 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.162e-05/0.197, allocations: 30.27 kB / 1.089 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.197, allocations: 3.938 kB / 1.089 GB, free: 0.6992 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.561e-06/0.197, allocations: 0 / 1.089 GB, free: 0.6992 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-06/0.197, allocations: 0 / 1.089 GB, free: 0.6992 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.299e-05/0.197, allocations: 4 kB / 1.089 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002166/0.1972, allocations: 387.5 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.48e-05/0.1973, allocations: 169.1 kB / 1.089 GB, free: 92 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.356e-05/0.1973, allocations: 84.14 kB / 1.089 GB, free: 4 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.1973, allocations: 79.31 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.1974, allocations: 105.8 kB / 1.089 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.1974, allocations: 4 kB / 1.089 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 5.41e-05/0.1974, allocations: 34 kB / 1.089 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.1975, allocations: 126.7 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.626e-05/0.1975, allocations: 93.86 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.1976, allocations: 29.7 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.997e-05/0.1976, allocations: 84.08 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.212e-06/0.1976, allocations: 0 / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.939e-05/0.1976, allocations: 17.84 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.147e-05/0.1977, allocations: 314.8 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.447e-06/0.1977, allocations: 3.938 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.264e-06/0.1977, allocations: 0 / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.057e-05/0.1977, allocations: 75.28 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-05/0.1978, allocations: 79.22 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.533e-05/0.1978, allocations: 41.61 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.1978, allocations: 79.28 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.1979, allocations: 83.27 kB / 1.09 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.404e-05/0.1979, allocations: 158.6 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.824e-05/0.1979, allocations: 79.22 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.158e-05/0.198, allocations: 150.6 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.437e-05/0.198, allocations: 80.64 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.198, allocations: 83.27 kB / 1.091 GB, free: 14.16 MB / 0.8575 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 7.638e-05/0.1981, allocations: 266.3 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.356e-05/0.1982, allocations: 104.9 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.476e-05/0.1982, allocations: 116 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.015e-05/0.1983, allocations: 176.3 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.4e-05/0.1983, allocations: 184.2 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.003e-05/0.1983, allocations: 180.3 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.1985, allocations: 405.2 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.654e-05/0.1985, allocations: 108.9 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.334e-05/0.1986, allocations: 101 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.256e-05/0.1986, allocations: 184.2 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.266e-05/0.1987, allocations: 180.3 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-05/0.1987, allocations: 180.6 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.121e-05/0.1988, allocations: 180.2 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.337e-05/0.1989, allocations: 315.7 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/0.1989, allocations: 178.1 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.905e-05/0.199, allocations: 192.2 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.823e-05/0.199, allocations: 105 kB / 1.094 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.1991, allocations: 176.3 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.672e-05/0.1991, allocations: 108.9 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.578e-05/0.1991, allocations: 79.28 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1991, allocations: 3.938 kB / 1.094 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002193/0.1994, allocations: 96 / 1.094 GB, free: 10.49 MB / 0.8575 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.0002808/0.1996, allocations: 0.8126 MB / 1.095 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 2.926e-05/0.1997, allocations: 3.938 kB / 1.095 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.1997, allocations: 0 / 1.095 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.1997, allocations: 4 kB / 1.095 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.2, allocations: 465.7 kB / 1.096 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007491/0.2007, allocations: 1.528 MB / 1.097 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.2009, allocations: 0.6768 MB / 1.098 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.019e-06/0.2009, allocations: 0 / 1.098 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.612e-05/0.2009, allocations: 11.56 kB / 1.098 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of SimCode: time 1.91e-07/0.201, allocations: 0 / 1.098 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7906/0.9915, allocations: 0.9177 MB / 1.099 GB, free: 6.059 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/12.1, allocations: 8.625 kB / 1.099 GB, free: 6.055 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches