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: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001195, allocations: 108 kB / 15.61 MB, free: 152 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.001196/0.001196, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.443/1.443, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.61/2.61, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 63.91 kB / 0.8692 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8062/0.8078, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.002035/0.8098, allocations: 0.5433 MB / 1.018 GB, free: 1.969 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 3.985e-05/0.8099, allocations: 0 / 1.018 GB, free: 1.969 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.125e-05/0.8099, allocations: 0 / 1.018 GB, free: 1.969 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.137e-05/0.81, allocations: 4 kB / 1.018 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.564e-05/0.81, allocations: 0 / 1.018 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.826e-05/0.8101, allocations: 4 kB / 1.018 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.846e-05/0.8101, allocations: 11.88 kB / 1.018 GB, free: 1.949 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.849e-05/0.8102, allocations: 0 / 1.018 GB, free: 1.949 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.758e-05/0.8102, allocations: 0 / 1.018 GB, free: 1.949 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.583e-05/0.8102, allocations: 7.984 kB / 1.018 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.8103, allocations: 0 / 1.018 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.834e-06/0.8103, allocations: 0 / 1.018 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.745e-05/0.8103, allocations: 3.984 kB / 1.018 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.8103, allocations: 0 / 1.018 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.966e-05/0.8104, allocations: 7.938 kB / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.8104, allocations: 0 / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8104, allocations: 0 / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.8104, allocations: 0 / 1.018 GB, free: 1.93 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.0003879/0.8108, allocations: 321.2 kB / 1.018 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.8109, allocations: 12.06 kB / 1.018 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.8109, allocations: 0.9375 kB / 1.018 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.8111, allocations: 160.4 kB / 1.018 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.8111, allocations: 384 / 1.018 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.8111, allocations: 4.375 kB / 1.018 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.8112, allocations: 30.27 kB / 1.018 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.8112, allocations: 192 / 1.018 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.8112, allocations: 3.938 kB / 1.018 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.8112, allocations: 0 / 1.018 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.638e-05/0.8112, allocations: 3.938 kB / 1.018 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003543/0.8116, allocations: 379.5 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 9.884e-05/0.8117, allocations: 177.1 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.769e-05/0.8118, allocations: 84.17 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.005e-05/0.8118, allocations: 75.28 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/0.8119, allocations: 113.8 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.8119, allocations: 3.938 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 7.955e-05/0.812, allocations: 33.69 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.523e-05/0.812, allocations: 126.7 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.153e-05/0.8121, allocations: 97.86 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.8122, allocations: 25.7 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.959e-05/0.8122, allocations: 80.14 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-06/0.8122, allocations: 0 / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.818e-05/0.8122, allocations: 13.72 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.8123, allocations: 315 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.719e-06/0.8124, allocations: 0 / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.49e-06/0.8124, allocations: 3.984 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.852e-05/0.8124, allocations: 79.22 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.602e-05/0.8124, allocations: 75.28 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.749e-05/0.8125, allocations: 33.64 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/0.8125, allocations: 79.28 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.155e-05/0.8126, allocations: 79.28 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.974e-05/0.8127, allocations: 166.4 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.919e-05/0.8127, allocations: 79.31 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.484e-05/0.8127, allocations: 154.5 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.371e-05/0.8128, allocations: 79.27 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.8129, allocations: 79.28 kB / 1.021 GB, free: 14.79 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 0.000131/0.813, allocations: 264.3 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.379e-05/0.8131, allocations: 108.9 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.52e-05/0.8131, allocations: 108.1 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-05/0.8132, allocations: 180.2 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.364e-05/0.8133, allocations: 180.2 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-05/0.8133, allocations: 176.3 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.8136, allocations: 413.1 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-05/0.8136, allocations: 105 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.534e-05/0.8137, allocations: 104.9 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.187e-05/0.8137, allocations: 180.3 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.237e-05/0.8138, allocations: 176.3 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.241e-05/0.8139, allocations: 184.2 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.918e-05/0.814, allocations: 184.2 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.8141, allocations: 307.7 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.688e-05/0.8142, allocations: 182.5 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.149e-05/0.8143, allocations: 188.2 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.082e-05/0.8144, allocations: 105 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.389e-05/0.8144, allocations: 184.2 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-05/0.8145, allocations: 105 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.258e-05/0.8145, allocations: 75.28 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.8145, allocations: 0 / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002516/0.8148, allocations: 3.938 kB / 1.024 GB, free: 11.12 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.0001542/0.8149, allocations: 186.6 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.485e-05/0.815, allocations: 3.938 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.815, allocations: 0 / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.815, allocations: 0 / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/0.8154, allocations: 459.6 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002584/0.8157, allocations: 165.5 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.816, allocations: 0.6729 MB / 1.025 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.62e-05/0.816, allocations: 3.984 kB / 1.025 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.858e-05/0.8161, allocations: 11.38 kB / 1.026 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.8161, allocations: 0 / 1.026 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of Templates: time 0.002094/0.8182, allocations: 171 kB / 1.026 GB, free: 9.41 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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