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.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.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.0008359/0.000836, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.004852/0.004852, allocations: 176.2 kB / 16.27 MB, free: 6.613 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.331/1.331, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.295/2.295, allocations: 390.9 MB / 0.6664 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003302/0.0003301, allocations: 12.28 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6759/0.6763, allocations: 142.4 MB / 0.9552 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.0007608/0.6771, allocations: 277.3 kB / 0.9555 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 4.102e-05/0.6771, allocations: 3.984 kB / 0.9555 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.336e-05/0.6772, allocations: 1.156 kB / 0.9555 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.582e-05/0.6772, allocations: 4 kB / 0.9555 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.198e-05/0.6772, allocations: 3.938 kB / 0.9555 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.518e-05/0.6773, allocations: 5.062 kB / 0.9555 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.048e-05/0.6773, allocations: 1.031 kB / 0.9555 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.942e-05/0.6774, allocations: 0.9375 kB / 0.9555 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.702e-05/0.6774, allocations: 0.6875 kB / 0.9555 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.948e-05/0.6774, allocations: 0 / 0.9555 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.6775, allocations: 0.9375 kB / 0.9555 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.988e-06/0.6775, allocations: 0 / 0.9555 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.6775, allocations: 1.062 kB / 0.9555 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.268e-05/0.6775, allocations: 33.58 kB / 0.9555 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.625e-05/0.6776, allocations: 8.734 kB / 0.9555 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.6776, allocations: 1.219 kB / 0.9555 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.953e-06/0.6776, allocations: 0 / 0.9555 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.6776, allocations: 0 / 0.9555 GB, free: 7.641 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.0002379/0.6779, allocations: 309.8 kB / 0.9558 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.6779, allocations: 8.906 kB / 0.9558 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.609e-05/0.678, allocations: 31.59 kB / 0.9559 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.016e-05/0.678, allocations: 0.9375 kB / 0.9559 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.639e-05/0.6781, allocations: 169.3 kB / 0.956 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.6781, allocations: 9.625 kB / 0.956 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.6781, allocations: 4.359 kB / 0.956 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.99e-05/0.6782, allocations: 32.02 kB / 0.9561 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.6782, allocations: 0 / 0.9561 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.6782, allocations: 0 / 0.9561 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.6782, allocations: 0 / 0.9561 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.435e-05/0.6782, allocations: 5.438 kB / 0.9561 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002361/0.6785, allocations: 387.2 kB / 0.9564 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.139e-05/0.6785, allocations: 170.4 kB / 0.9566 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.766e-05/0.6786, allocations: 80.14 kB / 0.9567 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.6786, allocations: 76.81 kB / 0.9567 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.6786, allocations: 109.8 kB / 0.9568 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.6786, allocations: 4 kB / 0.9569 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.974e-05/0.6787, allocations: 27.52 kB / 0.9569 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.6787, allocations: 126.7 kB / 0.957 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.488e-05/0.6788, allocations: 101.1 kB / 0.9571 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.833e-06/0.6788, allocations: 25.7 kB / 0.9571 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.627e-05/0.6788, allocations: 81.11 kB / 0.9572 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.293e-06/0.6788, allocations: 0 / 0.9572 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.405e-05/0.6789, allocations: 11.12 kB / 0.9572 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.661e-05/0.6789, allocations: 322.8 kB / 0.9575 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.058e-06/0.6789, allocations: 0 / 0.9575 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.697e-06/0.6789, allocations: 1.25 kB / 0.9575 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.236e-05/0.6789, allocations: 79.22 kB / 0.9576 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.679, allocations: 75.28 kB / 0.9577 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.76e-05/0.679, allocations: 33.02 kB / 0.9577 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.679, allocations: 79.5 kB / 0.9578 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.6791, allocations: 80.2 kB / 0.9578 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.147e-05/0.6791, allocations: 164 kB / 0.958 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.201e-05/0.6791, allocations: 76.38 kB / 0.9581 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.247e-05/0.6791, allocations: 155.6 kB / 0.9582 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.898e-05/0.6792, allocations: 79.31 kB / 0.9583 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.6792, allocations: 76.28 kB / 0.9584 GB, free: 4.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 5.941e-05/0.6793, allocations: 266.8 kB / 0.9586 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.6793, allocations: 114 kB / 0.9587 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.688e-05/0.6794, allocations: 109.3 kB / 0.9588 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-05/0.6794, allocations: 181.7 kB / 0.959 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.818e-05/0.6794, allocations: 177.2 kB / 0.9592 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-05/0.6795, allocations: 177.1 kB / 0.9594 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.6796, allocations: 415.4 kB / 0.9597 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.777e-05/0.6796, allocations: 102.1 kB / 0.9598 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.667e-05/0.6797, allocations: 106 kB / 0.9599 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.032e-05/0.6797, allocations: 181.6 kB / 0.9601 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/0.6797, allocations: 176.3 kB / 0.9603 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.763e-05/0.6798, allocations: 185.1 kB / 0.9605 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.683e-05/0.6798, allocations: 181.4 kB / 0.9606 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.284e-05/0.6799, allocations: 307.9 kB / 0.9609 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.463e-05/0.6799, allocations: 183.2 kB / 0.9611 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.68, allocations: 189.5 kB / 0.9613 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.791e-05/0.68, allocations: 106.2 kB / 0.9614 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.6801, allocations: 185.4 kB / 0.9616 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.6801, allocations: 106 kB / 0.9617 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.318e-05/0.6801, allocations: 77.34 kB / 0.9617 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6801, allocations: 0 / 0.9617 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002573/0.6804, allocations: 1.312 kB / 0.9617 GB, free: 0.8672 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.000263/0.6806, allocations: 0.813 MB / 0.9625 GB, free: 48 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 3.798e-05/0.6807, allocations: 5.281 kB / 0.9625 GB, free: 44 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6807, allocations: 0 / 0.9625 GB, free: 44 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.6807, allocations: 0 / 0.9625 GB, free: 44 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.6811, allocations: 0.5238 MB / 0.9631 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009312/0.682, allocations: 1.525 MB / 0.9645 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.6823, allocations: 0.6706 MB / 0.9652 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.895e-06/0.6823, allocations: 0 / 0.9652 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.129e-05/0.6823, allocations: 8.469 kB / 0.9652 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of SimCode: time 3.21e-07/0.6823, allocations: 4.062 kB / 0.9652 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01049/0.6928, allocations: 0.7269 MB / 0.9659 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/0.693, allocations: 221.4 kB / 0.9661 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/2.359, allocations: 0 / 0.9661 GB, free: 12.64 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