Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_9_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_9_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.001556/0.001556, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 197.5 kB / 16.53 MB, free: 6.672 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.342/1.342, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.339/2.339, allocations: 390.3 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 71.88 kB / 0.8127 GB, free: 14.32 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6671/0.6687, allocations: 140.4 MB / 0.9497 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001717/0.6705, allocations: 0.5274 MB / 0.9503 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 3.206e-05/0.6705, allocations: 3.938 kB / 0.9503 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.319e-05/0.6706, allocations: 0 / 0.9503 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.987e-05/0.6706, allocations: 1.062 kB / 0.9503 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.449e-05/0.6707, allocations: 0 / 0.9503 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.862e-05/0.6707, allocations: 0 / 0.9503 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.021e-05/0.6707, allocations: 10.64 kB / 0.9503 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.6708, allocations: 5.422 kB / 0.9503 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.169e-05/0.6708, allocations: 0 / 0.9503 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.568e-05/0.6708, allocations: 7.938 kB / 0.9503 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.6708, allocations: 1.438 kB / 0.9503 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.607e-06/0.6709, allocations: 0 / 0.9503 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.024e-05/0.6709, allocations: 0 / 0.9503 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.642e-05/0.6709, allocations: 1.438 kB / 0.9503 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.501e-05/0.6709, allocations: 0 / 0.9503 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.6709, allocations: 1.25 kB / 0.9503 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.182e-06/0.671, allocations: 3.938 kB / 0.9503 GB, free: 8.73 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.671, allocations: 0 / 0.9503 GB, free: 8.73 MB / 0.7169 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.0001839/0.6711, allocations: 318.2 kB / 0.9506 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.6712, allocations: 10.72 kB / 0.9506 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.169e-05/0.6712, allocations: 34.69 kB / 0.9506 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.6e-05/0.6712, allocations: 8.844 kB / 0.9507 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.85e-05/0.6713, allocations: 161.6 kB / 0.9508 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.022e-06/0.6713, allocations: 384 / 0.9508 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.273e-06/0.6713, allocations: 1.281 kB / 0.9508 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.499e-05/0.6714, allocations: 36.27 kB / 0.9508 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.581e-06/0.6714, allocations: 0 / 0.9508 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.64e-06/0.6714, allocations: 3.984 kB / 0.9508 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.6714, allocations: 4 kB / 0.9508 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.333e-05/0.6714, allocations: 1.5 kB / 0.9508 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001786/0.6716, allocations: 384.1 kB / 0.9512 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.533e-05/0.6717, allocations: 173.1 kB / 0.9514 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.218e-05/0.6717, allocations: 80.14 kB / 0.9515 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.6717, allocations: 81.47 kB / 0.9515 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/0.6717, allocations: 105.8 kB / 0.9516 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.6717, allocations: 0 / 0.9516 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.138e-05/0.6718, allocations: 31.64 kB / 0.9517 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.125e-05/0.6718, allocations: 126.7 kB / 0.9518 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.061e-05/0.6719, allocations: 101.5 kB / 0.9519 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.329e-06/0.6719, allocations: 25.7 kB / 0.9519 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.264e-05/0.6719, allocations: 84.12 kB / 0.952 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.402e-06/0.6719, allocations: 0 / 0.952 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.521e-05/0.6719, allocations: 11.06 kB / 0.952 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.426e-05/0.672, allocations: 316.1 kB / 0.9523 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.436e-06/0.672, allocations: 0 / 0.9523 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.056e-06/0.672, allocations: 0 / 0.9523 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.868e-06/0.672, allocations: 76.56 kB / 0.9524 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/0.672, allocations: 79.41 kB / 0.9524 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.342e-05/0.672, allocations: 32.27 kB / 0.9525 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.6721, allocations: 80.06 kB / 0.9526 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.6721, allocations: 80.47 kB / 0.9526 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/0.6721, allocations: 151.9 kB / 0.9528 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.498e-06/0.6721, allocations: 87.23 kB / 0.9529 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/0.6721, allocations: 155.7 kB / 0.953 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.188e-05/0.6722, allocations: 84.75 kB / 0.9531 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.6722, allocations: 76.28 kB / 0.9532 GB, free: 5.598 MB / 0.7169 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 4.503e-05/0.6723, allocations: 265.6 kB / 0.9534 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.6723, allocations: 106.4 kB / 0.9535 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.258e-05/0.6723, allocations: 121.3 kB / 0.9536 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-05/0.6724, allocations: 180.3 kB / 0.9538 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.347e-05/0.6724, allocations: 183.3 kB / 0.954 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.011e-05/0.6724, allocations: 181.5 kB / 0.9542 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.6725, allocations: 410.2 kB / 0.9545 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/0.6725, allocations: 102.4 kB / 0.9546 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.198e-05/0.6726, allocations: 101 kB / 0.9547 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.998e-05/0.6726, allocations: 185.8 kB / 0.9549 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.6726, allocations: 177.8 kB / 0.9551 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.007e-05/0.6726, allocations: 188.2 kB / 0.9553 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.965e-05/0.6727, allocations: 181.3 kB / 0.9554 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.569e-05/0.6727, allocations: 311.3 kB / 0.9557 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.789e-05/0.6727, allocations: 188 kB / 0.9559 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.6728, allocations: 181.9 kB / 0.9561 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.45e-05/0.6728, allocations: 101 kB / 0.9562 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/0.6729, allocations: 177.7 kB / 0.9564 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.6729, allocations: 114.3 kB / 0.9565 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.233e-05/0.6729, allocations: 82.02 kB / 0.9565 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6729, allocations: 0 / 0.9565 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002303/0.6731, allocations: 0 / 0.9565 GB, free: 1.938 MB / 0.7169 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.0001897/0.6733, allocations: 0.8061 MB / 0.9573 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 3.267e-05/0.6734, allocations: 3.938 kB / 0.9573 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.6734, allocations: 1.219 kB / 0.9573 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.6734, allocations: 3.984 kB / 0.9573 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.6736, allocations: 458.3 kB / 0.9578 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007731/0.6744, allocations: 1.528 MB / 0.9593 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.6747, allocations: 0.6777 MB / 0.9599 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.311e-06/0.6747, allocations: 0 / 0.9599 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.865e-05/0.6747, allocations: 7.438 kB / 0.9599 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.6747, allocations: 1.125 kB / 0.9599 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0689/0.7436, allocations: 0.8805 MB / 0.9608 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.732/8.476, allocations: 15.56 kB / 0.9608 GB, free: 13.84 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches