Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001178/0.001178, allocations: 103.4 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.001252/0.001252, allocations: 195.1 kB / 16.26 MB, free: 6.621 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.372/1.372, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.491/2.491, allocations: 437 MB / 0.7101 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 67.89 kB / 0.8689 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7077/0.7092, allocations: 151.6 MB / 1.017 GB, free: 2.668 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001689/0.7109, allocations: 0.6208 MB / 1.018 GB, free: 2.047 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 2.869e-05/0.711, allocations: 0 / 1.018 GB, free: 2.047 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.972e-05/0.711, allocations: 0 / 1.018 GB, free: 2.047 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.678e-05/0.711, allocations: 0 / 1.018 GB, free: 2.047 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.56e-05/0.7111, allocations: 7.938 kB / 1.018 GB, free: 2.039 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 2.626e-05/0.7111, allocations: 3.938 kB / 1.018 GB, free: 2.035 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.086e-05/0.7111, allocations: 0 / 1.018 GB, free: 2.035 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.92e-05/0.7112, allocations: 0 / 1.018 GB, free: 2.035 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.69e-05/0.7112, allocations: 11.98 kB / 1.018 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.391e-05/0.7112, allocations: 4 kB / 1.018 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.7112, allocations: 0 / 1.018 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.547e-06/0.7112, allocations: 0 / 1.018 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.728e-06/0.7113, allocations: 0 / 1.018 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.625e-05/0.7113, allocations: 0 / 1.018 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 4.47e-05/0.7113, allocations: 7.922 kB / 1.018 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.7113, allocations: 0 / 1.018 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.076e-06/0.7113, allocations: 4 kB / 1.018 GB, free: 2.008 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.7113, allocations: 0 / 1.018 GB, free: 2.008 MB / 0.7637 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.0002414/0.7116, allocations: 311.5 kB / 1.018 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.7116, allocations: 16.06 kB / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.933e-05/0.7117, allocations: 30.75 kB / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.66e-05/0.7117, allocations: 0.9375 kB / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.168e-05/0.7118, allocations: 164.4 kB / 1.018 GB, free: 1.398 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.7118, allocations: 4.312 kB / 1.018 GB, free: 1.395 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.7118, allocations: 4.375 kB / 1.018 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.635e-05/0.7119, allocations: 30.2 kB / 1.018 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.7119, allocations: 3.938 kB / 1.018 GB, free: 1.352 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-06/0.7119, allocations: 0 / 1.018 GB, free: 1.352 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.7119, allocations: 4 kB / 1.018 GB, free: 1.348 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.458e-05/0.7119, allocations: 4 kB / 1.018 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002423/0.7122, allocations: 375.5 kB / 1.018 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 7.064e-05/0.7123, allocations: 173.1 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.133e-05/0.7123, allocations: 88.08 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.7123, allocations: 83.27 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.7124, allocations: 105.8 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.7124, allocations: 0 / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 5.85e-05/0.7124, allocations: 25.7 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.7125, allocations: 130.7 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.741e-05/0.7126, allocations: 93.84 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.7126, allocations: 29.83 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.474e-05/0.7126, allocations: 88.14 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/0.7126, allocations: 0 / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.766e-05/0.7126, allocations: 9.719 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.622e-05/0.7127, allocations: 310.8 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.439e-06/0.7127, allocations: 3.938 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.756e-06/0.7128, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.558e-05/0.7128, allocations: 75.28 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.536e-05/0.7128, allocations: 87.22 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.92e-05/0.7129, allocations: 37.62 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.7129, allocations: 79.28 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/0.713, allocations: 83.22 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.172e-05/0.713, allocations: 150.6 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.101e-05/0.713, allocations: 79.28 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.162e-05/0.7131, allocations: 158.5 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.738e-05/0.7132, allocations: 83.28 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.7132, allocations: 79.22 kB / 1.02 GB, free: 14.82 MB / 0.7794 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 9.58e-05/0.7133, allocations: 264.9 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.716e-05/0.7133, allocations: 105 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.762e-05/0.7134, allocations: 108.1 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-05/0.7134, allocations: 184.2 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-05/0.7135, allocations: 176.3 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.174e-05/0.7135, allocations: 188.2 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.7137, allocations: 401.2 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.999e-05/0.7138, allocations: 101 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.984e-05/0.7138, allocations: 112.9 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-05/0.7139, allocations: 184.2 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.181e-05/0.7139, allocations: 180.2 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.947e-05/0.714, allocations: 176.3 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.914e-05/0.714, allocations: 180.3 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.7141, allocations: 316.1 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.027e-05/0.7142, allocations: 186 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.261e-05/0.7143, allocations: 180.3 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.479e-05/0.7143, allocations: 105 kB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/0.7144, allocations: 188.2 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.7144, allocations: 105 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.911e-05/0.7145, allocations: 75.28 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7145, allocations: 0 / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002257/0.7147, allocations: 4 kB / 1.024 GB, free: 11.16 MB / 0.7794 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.0003394/0.715, allocations: 0.8127 MB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 2.982e-05/0.7151, allocations: 0 / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.7151, allocations: 0 / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.7151, allocations: 0 / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.7154, allocations: 463.6 kB / 1.025 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008208/0.7162, allocations: 1.532 MB / 1.027 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001915/0.7164, allocations: 0.6728 MB / 1.027 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.042e-06/0.7165, allocations: 0 / 1.027 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.847e-05/0.7165, allocations: 7.438 kB / 1.027 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.7165, allocations: 0 / 1.027 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8054/1.522, allocations: 0.8297 MB / 1.028 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/1.522, allocations: 217 kB / 1.028 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.982/3.504, allocations: 0 / 1.028 GB, free: 6.594 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches