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.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.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.001131/0.001131, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 195 kB / 16.53 MB, free: 6.391 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.261/1.261, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.34/2.34, allocations: 437.1 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 71.88 kB / 0.8694 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4905/0.4917, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001525/0.4933, allocations: 0.5493 MB / 1.018 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 3.522e-05/0.4933, allocations: 4 kB / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.067e-05/0.4934, allocations: 0 / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.135e-05/0.4934, allocations: 0 / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.15e-05/0.4934, allocations: 4 kB / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 2.851e-05/0.4935, allocations: 0 / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.875e-05/0.4935, allocations: 7.938 kB / 1.018 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.91e-05/0.4936, allocations: 0 / 1.018 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.11e-05/0.4936, allocations: 0 / 1.018 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.341e-05/0.4936, allocations: 0 / 1.018 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.507e-06/0.4936, allocations: 4 kB / 1.018 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.885e-06/0.4936, allocations: 0 / 1.018 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.028e-05/0.4936, allocations: 0 / 1.018 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.763e-05/0.4936, allocations: 4 kB / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 4.685e-05/0.4937, allocations: 7.922 kB / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4937, allocations: 4 kB / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.364e-06/0.4937, allocations: 0 / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.4937, allocations: 3.938 kB / 1.018 GB, free: 1.898 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.0002276/0.4939, allocations: 311.5 kB / 1.018 GB, free: 1.543 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.494, allocations: 12.03 kB / 1.018 GB, free: 1.531 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.415e-05/0.494, allocations: 30.75 kB / 1.018 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.501e-05/0.494, allocations: 0.9375 kB / 1.018 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.817e-05/0.4941, allocations: 168.4 kB / 1.019 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.4941, allocations: 384 / 1.019 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.342e-06/0.4942, allocations: 4.375 kB / 1.019 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.187e-05/0.4942, allocations: 30.27 kB / 1.019 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.4942, allocations: 3.938 kB / 1.019 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.229e-06/0.4942, allocations: 0 / 1.019 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.4942, allocations: 0 / 1.019 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.266e-05/0.4943, allocations: 0 / 1.019 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002353/0.4945, allocations: 383.5 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.588e-05/0.4946, allocations: 181 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.428e-05/0.4946, allocations: 80.14 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.4946, allocations: 75.28 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.4947, allocations: 109.8 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 1.984e-06/0.4947, allocations: 0 / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 6.164e-05/0.4947, allocations: 33.64 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.4948, allocations: 126.7 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.187e-05/0.4949, allocations: 97.84 kB / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 9.287e-06/0.4949, allocations: 25.7 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.4949, allocations: 80.14 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-06/0.4949, allocations: 4 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.844e-05/0.4949, allocations: 13.72 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.201e-05/0.495, allocations: 315 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.506e-06/0.495, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.455e-06/0.4951, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.074e-05/0.4951, allocations: 75.28 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.173e-05/0.4951, allocations: 79.22 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.893e-05/0.4952, allocations: 37.62 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.4952, allocations: 79.28 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.413e-05/0.4952, allocations: 83.22 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.544e-05/0.4953, allocations: 158.5 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.313e-05/0.4953, allocations: 79.31 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.583e-05/0.4953, allocations: 154.6 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.114e-05/0.4954, allocations: 87.22 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.4954, allocations: 75.28 kB / 1.021 GB, free: 14.72 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.726e-05/0.4955, allocations: 268.3 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.469e-05/0.4956, allocations: 104.9 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.944e-05/0.4956, allocations: 108.1 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.743e-05/0.4957, allocations: 180.3 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.647e-05/0.4957, allocations: 180.2 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.984e-05/0.4958, allocations: 184.2 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.4959, allocations: 413.1 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-05/0.496, allocations: 105 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.535e-05/0.496, allocations: 105 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.894e-05/0.4961, allocations: 184.2 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-05/0.4961, allocations: 176.3 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.456e-05/0.4962, allocations: 180.2 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.711e-05/0.4962, allocations: 180.3 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.4963, allocations: 315.7 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.567e-05/0.4964, allocations: 182.5 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.353e-05/0.4964, allocations: 180.2 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.805e-05/0.4965, allocations: 105 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/0.4966, allocations: 196.2 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.081e-05/0.4966, allocations: 105 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.834e-05/0.4966, allocations: 75.28 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.4966, allocations: 0 / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002231/0.4969, allocations: 0 / 1.024 GB, free: 11.05 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.0003238/0.4972, allocations: 0.8166 MB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 2.723e-05/0.4972, allocations: 0 / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4972, allocations: 0 / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.4972, allocations: 0 / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.4975, allocations: 461.1 kB / 1.025 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000793/0.4983, allocations: 1.528 MB / 1.027 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001887/0.4985, allocations: 0.669 MB / 1.028 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.872e-06/0.4986, allocations: 3.938 kB / 1.028 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.909e-05/0.4986, allocations: 15.44 kB / 1.028 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.4986, allocations: 0 / 1.028 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.234/4.732, allocations: 0.8981 MB / 1.029 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.783/13.52, allocations: 9.688 kB / 1.029 GB, free: 6.617 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