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.001626/0.001626, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001974/0.001974, allocations: 192.8 kB / 16.25 MB, free: 6.633 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.522/1.522, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.87/2.87, allocations: 437 MB / 0.71 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 59.91 kB / 0.8687 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7695/0.7709, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001746/0.7727, allocations: 0.6159 MB / 1.017 GB, free: 2.125 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 3.627e-05/0.7727, allocations: 0 / 1.017 GB, free: 2.125 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.187e-05/0.7728, allocations: 0 / 1.017 GB, free: 2.125 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.947e-05/0.7728, allocations: 0 / 1.017 GB, free: 2.125 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.841e-05/0.7728, allocations: 0 / 1.017 GB, free: 2.125 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.576e-05/0.7729, allocations: 8 kB / 1.017 GB, free: 2.117 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.491e-05/0.7729, allocations: 3.938 kB / 1.017 GB, free: 2.113 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.762e-05/0.773, allocations: 0 / 1.017 GB, free: 2.113 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.544e-05/0.773, allocations: 4 kB / 1.017 GB, free: 2.109 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.922e-05/0.773, allocations: 0 / 1.017 GB, free: 2.109 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.773, allocations: 7.938 kB / 1.017 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.687e-06/0.773, allocations: 0 / 1.017 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.203e-05/0.7731, allocations: 0 / 1.017 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.088e-05/0.7731, allocations: 0 / 1.017 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 5.702e-05/0.7732, allocations: 11.91 kB / 1.017 GB, free: 2.09 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.7732, allocations: 3.938 kB / 1.017 GB, free: 2.086 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7732, allocations: 4 kB / 1.017 GB, free: 2.082 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.7732, allocations: 0 / 1.017 GB, free: 2.082 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.0002634/0.7734, allocations: 315.5 kB / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.7735, allocations: 12.06 kB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.533e-05/0.7735, allocations: 0.9375 kB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.7736, allocations: 164.4 kB / 1.018 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.7736, allocations: 4.359 kB / 1.018 GB, free: 1.508 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.7737, allocations: 384 / 1.018 GB, free: 1.508 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.673e-05/0.7737, allocations: 38.27 kB / 1.018 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.621e-06/0.7738, allocations: 192 / 1.018 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.7738, allocations: 3.938 kB / 1.018 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.7738, allocations: 0 / 1.018 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.529e-05/0.7738, allocations: 3.938 kB / 1.018 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002801/0.7741, allocations: 379.5 kB / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 7.426e-05/0.7742, allocations: 173.1 kB / 1.018 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.967e-05/0.7742, allocations: 84.17 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.7742, allocations: 75.28 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.7743, allocations: 113.8 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.7743, allocations: 0 / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 6.338e-05/0.7743, allocations: 25.7 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.7744, allocations: 130.7 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.111e-05/0.7745, allocations: 97.84 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.7745, allocations: 25.7 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.822e-05/0.7745, allocations: 84.14 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 1.412e-06/0.7745, allocations: 0 / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.183e-05/0.7746, allocations: 13.72 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.916e-05/0.7747, allocations: 310.8 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.579e-06/0.7747, allocations: 0 / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.775e-06/0.7747, allocations: 4.125 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.206e-05/0.7747, allocations: 75.28 kB / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.921e-05/0.7747, allocations: 75.28 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.307e-05/0.7748, allocations: 37.58 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/0.7748, allocations: 83.27 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.213e-05/0.7749, allocations: 75.28 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.303e-05/0.7749, allocations: 158.5 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.133e-05/0.7749, allocations: 83.22 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.825e-05/0.775, allocations: 158.6 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.211e-05/0.7751, allocations: 79.22 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.7751, allocations: 79.28 kB / 1.02 GB, free: 14.95 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.66e-05/0.7752, allocations: 260.3 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.809e-05/0.7753, allocations: 112.8 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.269e-05/0.7753, allocations: 116.1 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.751e-05/0.7754, allocations: 180.2 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.319e-05/0.7754, allocations: 176.3 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.033e-05/0.7755, allocations: 176.3 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.7757, allocations: 413.1 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.629e-05/0.7757, allocations: 105 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.091e-05/0.7758, allocations: 104.9 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-05/0.7758, allocations: 184.2 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.775e-05/0.7759, allocations: 176.3 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.121e-05/0.7759, allocations: 180.2 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.844e-05/0.776, allocations: 176.3 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.7761, allocations: 320.1 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.816e-05/0.7762, allocations: 178.1 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.742e-05/0.7762, allocations: 184.2 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.701e-05/0.7763, allocations: 113 kB / 1.023 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.673e-05/0.7764, allocations: 188.2 kB / 1.023 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/0.7764, allocations: 105 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.128e-05/0.7764, allocations: 75.28 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7764, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002401/0.7767, allocations: 0 / 1.024 GB, free: 11.27 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.0001194/0.7768, allocations: 178.5 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 3.633e-05/0.7768, allocations: 4.094 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.7769, allocations: 0 / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.356e-06/0.7769, allocations: 3.938 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.7772, allocations: 463.6 kB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001916/0.7774, allocations: 160.2 kB / 1.024 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002013/0.7776, allocations: 0.6729 MB / 1.025 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.244e-06/0.7776, allocations: 0 / 1.025 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.618e-05/0.7776, allocations: 7.438 kB / 1.025 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.7776, allocations: 3.938 kB / 1.025 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of Templates: time 0.001851/0.7795, allocations: 172.9 kB / 1.025 GB, free: 9.562 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