Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_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.001231/0.001231, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001583/0.001583, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.339/1.339, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.368/2.368, allocations: 390.2 MB / 0.6643 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6649/0.6664, allocations: 140.4 MB / 0.9491 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002254/0.6687, allocations: 0.6145 MB / 0.9497 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 3.747e-05/0.6688, allocations: 1.531 kB / 0.9497 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.664e-05/0.6688, allocations: 0 / 0.9497 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.857e-05/0.6689, allocations: 0 / 0.9497 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.996e-05/0.6689, allocations: 0 / 0.9497 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.587e-05/0.669, allocations: 4 kB / 0.9497 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.004e-05/0.669, allocations: 2.312 kB / 0.9497 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.403e-05/0.6691, allocations: 1.25 kB / 0.9497 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.702e-05/0.6691, allocations: 7.875 kB / 0.9497 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.966e-05/0.6691, allocations: 2.094 kB / 0.9497 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.6691, allocations: 0 / 0.9497 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.078e-06/0.6691, allocations: 4 kB / 0.9497 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.6692, allocations: 0 / 0.9497 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.248e-05/0.6692, allocations: 3.984 kB / 0.9497 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.52e-05/0.6692, allocations: 5.609 kB / 0.9497 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.6693, allocations: 0 / 0.9497 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6693, allocations: 0 / 0.9497 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.6693, allocations: 0 / 0.9497 GB, free: 8.648 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.0002571/0.6695, allocations: 311.7 kB / 0.95 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.6696, allocations: 9.844 kB / 0.95 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.459e-05/0.6696, allocations: 30.75 kB / 0.95 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.237e-05/0.6696, allocations: 14.47 kB / 0.9501 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.007e-05/0.6697, allocations: 172.3 kB / 0.9502 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.6698, allocations: 1.625 kB / 0.9502 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-06/0.6698, allocations: 384 / 0.9502 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.899e-05/0.6699, allocations: 27.73 kB / 0.9502 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.6699, allocations: 5.594 kB / 0.9502 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.6699, allocations: 0 / 0.9502 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.6699, allocations: 0 / 0.9502 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.703e-05/0.6699, allocations: 9.281 kB / 0.9503 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002774/0.6702, allocations: 382.6 kB / 0.9506 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.494e-05/0.6703, allocations: 170.7 kB / 0.9508 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.441e-05/0.6703, allocations: 80.14 kB / 0.9509 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.6703, allocations: 83.16 kB / 0.9509 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.6704, allocations: 111.3 kB / 0.951 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.6704, allocations: 0 / 0.951 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.707e-05/0.6704, allocations: 27.02 kB / 0.9511 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.6705, allocations: 130.7 kB / 0.9512 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.798e-05/0.6706, allocations: 97.55 kB / 0.9513 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.023e-06/0.6706, allocations: 25.7 kB / 0.9513 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.145e-05/0.6706, allocations: 85.42 kB / 0.9514 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.6706, allocations: 0 / 0.9514 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/0.6706, allocations: 11.16 kB / 0.9514 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.175e-05/0.6707, allocations: 310.8 kB / 0.9517 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.011e-06/0.6707, allocations: 1.406 kB / 0.9517 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.011e-06/0.6707, allocations: 3.938 kB / 0.9517 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.715e-05/0.6708, allocations: 75.28 kB / 0.9518 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.526e-05/0.6708, allocations: 80.47 kB / 0.9519 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.671e-05/0.6708, allocations: 36.19 kB / 0.9519 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/0.6709, allocations: 83.34 kB / 0.952 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.6709, allocations: 76.88 kB / 0.952 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.714e-05/0.671, allocations: 155.8 kB / 0.9522 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.727e-05/0.671, allocations: 75.28 kB / 0.9523 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.209e-05/0.671, allocations: 155.9 kB / 0.9524 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.205e-05/0.6711, allocations: 80.69 kB / 0.9525 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.6711, allocations: 79.28 kB / 0.9526 GB, free: 5.516 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 7.225e-05/0.6712, allocations: 269.7 kB / 0.9528 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.015e-05/0.6712, allocations: 106.6 kB / 0.9529 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.775e-05/0.6713, allocations: 113.5 kB / 0.953 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.118e-05/0.6713, allocations: 181.7 kB / 0.9532 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.361e-05/0.6713, allocations: 181.5 kB / 0.9534 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.204e-05/0.6714, allocations: 181.6 kB / 0.9536 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.6715, allocations: 406.7 kB / 0.9539 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.922e-05/0.6715, allocations: 102.6 kB / 0.954 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.002e-05/0.6716, allocations: 108.9 kB / 0.9541 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.111e-05/0.6716, allocations: 177.5 kB / 0.9543 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.841e-05/0.6717, allocations: 185.8 kB / 0.9545 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.179e-05/0.6717, allocations: 181.5 kB / 0.9547 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.211e-05/0.6717, allocations: 176.3 kB / 0.9548 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.455e-05/0.6718, allocations: 320.2 kB / 0.9551 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.868e-05/0.6719, allocations: 187.4 kB / 0.9553 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.6719, allocations: 177.5 kB / 0.9555 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.886e-05/0.672, allocations: 110.5 kB / 0.9556 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.672, allocations: 180.2 kB / 0.9558 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.672, allocations: 102.2 kB / 0.9559 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.916e-05/0.6721, allocations: 89.97 kB / 0.9559 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6721, allocations: 0 / 0.9559 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002745/0.6724, allocations: 0 / 0.9559 GB, free: 1.855 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.0002541/0.6726, allocations: 0.8067 MB / 0.9567 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 3.679e-05/0.6727, allocations: 8.094 kB / 0.9567 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.6727, allocations: 0 / 0.9567 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.6727, allocations: 1.375 kB / 0.9567 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.673, allocations: 0.516 MB / 0.9572 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009144/0.6739, allocations: 1.525 MB / 0.9587 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.6742, allocations: 0.6784 MB / 0.9594 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.825e-06/0.6742, allocations: 0 / 0.9594 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.279e-05/0.6742, allocations: 8.812 kB / 0.9594 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.6742, allocations: 0 / 0.9594 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009739/0.684, allocations: 0.7861 MB / 0.9602 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/0.6841, allocations: 210.3 kB / 0.9604 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.727/2.411, allocations: 4 kB / 0.9604 GB, free: 13.56 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches