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: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001463, 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.001793/0.001793, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.456/1.456, allocations: 222.9 MB / 239.8 MB, free: 4.535 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.717/2.717, allocations: 437 MB / 0.7099 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.00133, allocations: 67.89 kB / 0.8686 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7309/0.7323, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001833/0.7342, allocations: 0.6128 MB / 1.017 GB, free: 2.188 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 4.196e-05/0.7342, allocations: 7.938 kB / 1.017 GB, free: 2.18 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.211e-05/0.7343, allocations: 4 kB / 1.017 GB, free: 2.176 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.159e-05/0.7343, allocations: 0 / 1.017 GB, free: 2.176 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.735e-05/0.7343, allocations: 0 / 1.017 GB, free: 2.176 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.844e-05/0.7344, allocations: 4 kB / 1.017 GB, free: 2.172 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.622e-05/0.7344, allocations: 0 / 1.017 GB, free: 2.172 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.157e-05/0.7345, allocations: 0 / 1.017 GB, free: 2.172 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.825e-05/0.7345, allocations: 3.984 kB / 1.017 GB, free: 2.168 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.983e-05/0.7345, allocations: 4 kB / 1.017 GB, free: 2.164 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.7345, allocations: 0 / 1.017 GB, free: 2.164 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.627e-06/0.7345, allocations: 0 / 1.017 GB, free: 2.164 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.51e-05/0.7346, allocations: 0 / 1.017 GB, free: 2.164 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.582e-05/0.7346, allocations: 11.94 kB / 1.017 GB, free: 2.152 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 4.978e-05/0.7347, allocations: 0 / 1.017 GB, free: 2.152 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.7347, allocations: 3.938 kB / 1.017 GB, free: 2.148 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.012e-06/0.7347, allocations: 0 / 1.017 GB, free: 2.148 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.7347, allocations: 0 / 1.017 GB, free: 2.148 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.0002769/0.735, allocations: 315.5 kB / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.735, allocations: 12.03 kB / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.362e-05/0.735, allocations: 0.9375 kB / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.7352, allocations: 160.4 kB / 1.018 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.7352, allocations: 4.375 kB / 1.018 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.7352, allocations: 384 / 1.018 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.8e-05/0.7353, allocations: 42.19 kB / 1.018 GB, free: 1.531 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.7353, allocations: 192 / 1.018 GB, free: 1.531 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.7353, allocations: 3.938 kB / 1.018 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.7353, allocations: 0 / 1.018 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.64e-05/0.7353, allocations: 4 kB / 1.018 GB, free: 1.523 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.7357, allocations: 383.5 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 7.787e-05/0.7358, allocations: 173 kB / 1.018 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.417e-05/0.7358, allocations: 80.14 kB / 1.018 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.7358, allocations: 79.31 kB / 1.018 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.686e-05/0.7359, allocations: 105.8 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.7359, allocations: 0 / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 6.881e-05/0.736, allocations: 29.7 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.736, allocations: 130.7 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.736e-05/0.7361, allocations: 101.8 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.7361, allocations: 25.7 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.76e-05/0.7362, allocations: 80.14 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 3.667e-06/0.7362, allocations: 0 / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.971e-05/0.7362, allocations: 17.66 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.7363, allocations: 319 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.867e-06/0.7363, allocations: 0 / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.515e-06/0.7363, allocations: 0 / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.395e-05/0.7364, allocations: 75.28 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.976e-05/0.7364, allocations: 75.28 kB / 1.019 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.793e-05/0.7365, allocations: 33.64 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.378e-05/0.7365, allocations: 79.28 kB / 1.019 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.479e-05/0.7365, allocations: 79.22 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.091e-05/0.7366, allocations: 162.5 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.75e-05/0.7366, allocations: 75.28 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-05/0.7367, allocations: 158.5 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.778e-05/0.7367, allocations: 75.28 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.7368, allocations: 87.22 kB / 1.02 GB, free: 15.01 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.0001099/0.7369, allocations: 264.3 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.461e-05/0.7369, allocations: 101 kB / 1.02 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.738e-05/0.737, allocations: 116 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.412e-05/0.7371, allocations: 180.3 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.625e-05/0.7371, allocations: 180.3 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.666e-05/0.7372, allocations: 180.2 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.7374, allocations: 409.2 kB / 1.021 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.642e-05/0.7375, allocations: 104.9 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.121e-05/0.7375, allocations: 101 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.197e-05/0.7376, allocations: 180.3 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.009e-05/0.7376, allocations: 188.2 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-05/0.7377, allocations: 180.3 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.451e-05/0.7378, allocations: 180.2 kB / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.7379, allocations: 308.2 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.386e-05/0.738, allocations: 190 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.544e-05/0.738, allocations: 180.3 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.811e-05/0.7381, allocations: 113 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/0.7382, allocations: 176.3 kB / 1.023 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.579e-05/0.7382, allocations: 113 kB / 1.023 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.177e-05/0.7383, allocations: 79.28 kB / 1.023 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7383, allocations: 3.938 kB / 1.023 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002568/0.7385, allocations: 0 / 1.023 GB, free: 11.33 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.0001328/0.7387, allocations: 188 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 3.185e-05/0.7387, allocations: 0 / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7387, allocations: 0 / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.7387, allocations: 0 / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.7391, allocations: 0.5266 MB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002024/0.7393, allocations: 161.9 kB / 1.024 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.7395, allocations: 0.6692 MB / 1.025 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.969e-06/0.7396, allocations: 0 / 1.025 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.466e-05/0.7396, allocations: 11.38 kB / 1.025 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of SimCode: time 1.9e-07/0.7396, allocations: 0 / 1.025 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of Templates: time 0.001906/0.7415, allocations: 164.9 kB / 1.025 GB, free: 9.559 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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