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.001218/0.001218, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001162/0.001162, allocations: 194 kB / 16.25 MB, free: 6.152 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.387/1.387, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.423/2.423, allocations: 390.3 MB / 0.6644 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001367, allocations: 71.89 kB / 0.8122 GB, free: 14.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6091/0.6105, allocations: 140.3 MB / 0.9493 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001598/0.6121, allocations: 0.6076 MB / 0.9498 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 3.555e-05/0.6122, allocations: 1.344 kB / 0.9499 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.151e-05/0.6122, allocations: 0 / 0.9499 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.741e-05/0.6123, allocations: 0 / 0.9499 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.345e-05/0.6123, allocations: 0 / 0.9499 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.045e-05/0.6123, allocations: 1.375 kB / 0.9499 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.191e-05/0.6124, allocations: 5.438 kB / 0.9499 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.109e-05/0.6124, allocations: 1.344 kB / 0.9499 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.297e-05/0.6124, allocations: 4 kB / 0.9499 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.404e-05/0.6125, allocations: 5.406 kB / 0.9499 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.6125, allocations: 0 / 0.9499 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.427e-06/0.6125, allocations: 0 / 0.9499 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.101e-05/0.6125, allocations: 1.75 kB / 0.9499 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.113e-05/0.6125, allocations: 3.984 kB / 0.9499 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.664e-05/0.6126, allocations: 3.984 kB / 0.9499 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.6126, allocations: 1.406 kB / 0.9499 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6126, allocations: 0 / 0.9499 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.6126, allocations: 0 / 0.9499 GB, free: 8.57 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.0001992/0.6128, allocations: 318.5 kB / 0.9502 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.6128, allocations: 9.625 kB / 0.9502 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.025e-05/0.6129, allocations: 36.09 kB / 0.9502 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.814e-05/0.6129, allocations: 4.844 kB / 0.9502 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.696e-05/0.613, allocations: 164.4 kB / 0.9504 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.083e-06/0.613, allocations: 5.656 kB / 0.9504 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.613, allocations: 384 / 0.9504 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.632e-05/0.6131, allocations: 32.39 kB / 0.9504 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.6131, allocations: 0 / 0.9504 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.6131, allocations: 3.938 kB / 0.9504 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.6131, allocations: 4 kB / 0.9504 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.324e-05/0.6131, allocations: 1.25 kB / 0.9504 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002123/0.6133, allocations: 387.6 kB / 0.9508 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.092e-05/0.6134, allocations: 170.5 kB / 0.951 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.664e-05/0.6134, allocations: 80.14 kB / 0.951 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.6134, allocations: 79.28 kB / 0.9511 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.6134, allocations: 111.2 kB / 0.9512 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.6134, allocations: 0 / 0.9512 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.873e-05/0.6135, allocations: 31.02 kB / 0.9513 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.6135, allocations: 126.7 kB / 0.9514 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.288e-05/0.6136, allocations: 102 kB / 0.9515 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.919e-06/0.6136, allocations: 25.7 kB / 0.9515 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.507e-05/0.6136, allocations: 80.14 kB / 0.9516 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-06/0.6136, allocations: 1.375 kB / 0.9516 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.891e-05/0.6137, allocations: 11.09 kB / 0.9516 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.462e-05/0.6137, allocations: 318.8 kB / 0.9519 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.899e-06/0.6137, allocations: 4 kB / 0.9519 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.747e-06/0.6137, allocations: 1.375 kB / 0.9519 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.202e-05/0.6137, allocations: 75.41 kB / 0.952 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/0.6138, allocations: 79.28 kB / 0.952 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.71e-05/0.6138, allocations: 32.39 kB / 0.9521 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.6138, allocations: 80.78 kB / 0.9521 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.6139, allocations: 75.28 kB / 0.9522 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.127e-05/0.6139, allocations: 155.9 kB / 0.9524 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.216e-05/0.6139, allocations: 80.59 kB / 0.9524 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.309e-05/0.6139, allocations: 156 kB / 0.9526 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.821e-05/0.614, allocations: 87.2 kB / 0.9527 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.614, allocations: 76.66 kB / 0.9527 GB, free: 5.434 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 5.713e-05/0.6141, allocations: 261.7 kB / 0.953 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/0.6141, allocations: 110.3 kB / 0.9531 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.6141, allocations: 109.3 kB / 0.9532 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.492e-05/0.6142, allocations: 189.7 kB / 0.9534 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.792e-05/0.6142, allocations: 181.6 kB / 0.9536 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.482e-05/0.6142, allocations: 177.6 kB / 0.9537 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.6144, allocations: 410.5 kB / 0.9541 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/0.6144, allocations: 102.4 kB / 0.9542 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.519e-05/0.6144, allocations: 106.4 kB / 0.9543 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-05/0.6144, allocations: 180.2 kB / 0.9545 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.6145, allocations: 177.6 kB / 0.9547 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-05/0.6145, allocations: 181.6 kB / 0.9548 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.559e-05/0.6145, allocations: 184.2 kB / 0.955 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.705e-05/0.6146, allocations: 316.2 kB / 0.9553 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.031e-05/0.6146, allocations: 179.5 kB / 0.9555 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.262e-05/0.6147, allocations: 189.6 kB / 0.9557 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.488e-05/0.6147, allocations: 106.4 kB / 0.9558 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.6148, allocations: 176.3 kB / 0.9559 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.6148, allocations: 110.3 kB / 0.956 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.182e-05/0.6148, allocations: 78.03 kB / 0.9561 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6148, allocations: 0 / 0.9561 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000248/0.6151, allocations: 0 / 0.9561 GB, free: 1.785 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.0002367/0.6153, allocations: 0.8112 MB / 0.9569 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 3.876e-05/0.6154, allocations: 5.312 kB / 0.9569 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.6154, allocations: 0 / 0.9569 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.645e-06/0.6154, allocations: 1.375 kB / 0.9569 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.6156, allocations: 458.8 kB / 0.9574 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008582/0.6165, allocations: 1.527 MB / 0.9588 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.6167, allocations: 0.678 MB / 0.9595 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.306e-06/0.6167, allocations: 0 / 0.9595 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.444e-05/0.6168, allocations: 7.438 kB / 0.9595 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of SimCode: time 2.81e-07/0.6168, allocations: 1.375 kB / 0.9595 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009822/0.6266, allocations: 0.8088 MB / 0.9603 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/0.6268, allocations: 222 kB / 0.9605 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/2.412, allocations: 3.5 kB / 0.9605 GB, free: 13.55 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