Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_10_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_10_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.001174/0.001174, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001133/0.001133, allocations: 192 kB / 16.14 MB, free: 6.719 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.171/1.171, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.241/2.241, allocations: 437 MB / 0.7099 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 63.91 kB / 0.8687 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4667/0.4679, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001565/0.4695, allocations: 0.6109 MB / 1.017 GB, free: 2.156 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 3.27e-05/0.4696, allocations: 19.86 kB / 1.017 GB, free: 2.137 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.893e-05/0.4696, allocations: 0 / 1.017 GB, free: 2.137 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.384e-05/0.4696, allocations: 0 / 1.017 GB, free: 2.137 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.088e-05/0.4697, allocations: 0 / 1.017 GB, free: 2.137 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 2.281e-05/0.4697, allocations: 0 / 1.017 GB, free: 2.137 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.59e-05/0.4697, allocations: 4 kB / 1.017 GB, free: 2.133 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.679e-05/0.4698, allocations: 0 / 1.017 GB, free: 2.133 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.13e-05/0.4698, allocations: 0 / 1.017 GB, free: 2.133 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.322e-05/0.4698, allocations: 0 / 1.017 GB, free: 2.133 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.295e-06/0.4698, allocations: 0 / 1.017 GB, free: 2.133 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.756e-06/0.4698, allocations: 0 / 1.017 GB, free: 2.133 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.228e-06/0.4698, allocations: 8 kB / 1.017 GB, free: 2.125 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.616e-05/0.4699, allocations: 3.938 kB / 1.017 GB, free: 2.121 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 4.3e-05/0.4699, allocations: 4 kB / 1.017 GB, free: 2.117 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.4699, allocations: 0 / 1.017 GB, free: 2.117 MB / 0.7637 GB Notification: Performance of FrontEnd: time 6.52e-07/0.4699, allocations: 0 / 1.017 GB, free: 2.117 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.4699, allocations: 0 / 1.017 GB, free: 2.117 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.0002294/0.4702, allocations: 315.5 kB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.4702, allocations: 8.031 kB / 1.018 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.523e-05/0.4702, allocations: 30.75 kB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.611e-05/0.4702, allocations: 4.938 kB / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.71e-05/0.4703, allocations: 168.3 kB / 1.018 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.911e-06/0.4703, allocations: 384 / 1.018 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.882e-06/0.4704, allocations: 384 / 1.018 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.405e-05/0.4704, allocations: 34.25 kB / 1.018 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.4704, allocations: 7.938 kB / 1.018 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.391e-06/0.4704, allocations: 0 / 1.018 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.106e-06/0.4705, allocations: 0 / 1.018 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.193e-05/0.4705, allocations: 0 / 1.018 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002406/0.4707, allocations: 387.5 kB / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.788e-05/0.4708, allocations: 173.1 kB / 1.018 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.518e-05/0.4708, allocations: 80.14 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.4708, allocations: 75.28 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/0.4709, allocations: 113.9 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.4709, allocations: 0 / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 5.882e-05/0.471, allocations: 29.64 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.471, allocations: 130.7 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.355e-05/0.4711, allocations: 97.84 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.4711, allocations: 25.7 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.763e-05/0.4711, allocations: 80.14 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 1.292e-06/0.4711, allocations: 3.938 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.938e-05/0.4712, allocations: 17.84 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.456e-05/0.4713, allocations: 318.8 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.586e-06/0.4713, allocations: 0 / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.417e-06/0.4713, allocations: 4 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.978e-05/0.4713, allocations: 75.28 kB / 1.019 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.341e-05/0.4713, allocations: 79.22 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.073e-05/0.4714, allocations: 33.64 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.4714, allocations: 79.28 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-05/0.4714, allocations: 79.28 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.631e-05/0.4715, allocations: 158.5 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.934e-05/0.4715, allocations: 79.22 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.309e-05/0.4716, allocations: 154.6 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.027e-05/0.4716, allocations: 79.22 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.4717, allocations: 79.28 kB / 1.02 GB, free: 14.93 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 8.67e-05/0.4717, allocations: 268.9 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.408e-05/0.4718, allocations: 101 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.161e-05/0.4718, allocations: 112 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.771e-05/0.4719, allocations: 180.3 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.757e-05/0.4719, allocations: 184.2 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.682e-05/0.472, allocations: 180.3 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.4722, allocations: 405.2 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.823e-05/0.4722, allocations: 104.9 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.908e-05/0.4723, allocations: 101 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.02e-05/0.4723, allocations: 184.2 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.836e-05/0.4724, allocations: 188.2 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.938e-05/0.4724, allocations: 176.3 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.824e-05/0.4725, allocations: 180.2 kB / 1.022 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.4726, allocations: 316.1 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/0.4727, allocations: 178.1 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.699e-05/0.4727, allocations: 184.3 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.028e-05/0.4728, allocations: 109 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.354e-05/0.4729, allocations: 176.3 kB / 1.023 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.289e-05/0.4729, allocations: 112.9 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.896e-05/0.4729, allocations: 79.28 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.283e-06/0.4729, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002239/0.4732, allocations: 8.031 kB / 1.024 GB, free: 11.26 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.0003172/0.4735, allocations: 0.8086 MB / 1.024 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 2.821e-05/0.4735, allocations: 7.938 kB / 1.024 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4735, allocations: 4 kB / 1.024 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.4735, allocations: 0 / 1.024 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.4738, allocations: 0.5185 MB / 1.025 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007913/0.4746, allocations: 1.522 MB / 1.026 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001803/0.4748, allocations: 0.6692 MB / 1.027 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.074e-06/0.4748, allocations: 4.094 kB / 1.027 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.618e-05/0.4749, allocations: 11.44 kB / 1.027 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.4749, allocations: 0 / 1.027 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.406/1.881, allocations: 0.7929 MB / 1.028 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/1.881, allocations: 215.9 kB / 1.028 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.612/3.494, allocations: 0 / 1.028 GB, free: 6.645 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches