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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002031/0.002031, allocations: 189.8 kB / 22.22 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.593/1.593, allocations: 225.6 MB / 251 MB, free: 13.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.672/2.672, allocations: 443.5 MB / 0.7321 GB, free: 12.26 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,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=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002367/0.002367, allocations: 63.89 kB / 1.061 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.133/1.136, allocations: 160.8 MB / 1.218 GB, free: 3.715 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002981/1.139, allocations: 0.5541 MB / 1.219 GB, free: 3.305 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 7.417e-05/1.139, allocations: 4 kB / 1.219 GB, free: 3.301 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.523e-05/1.139, allocations: 1.375 kB / 1.219 GB, free: 3.301 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.075e-05/1.139, allocations: 0 / 1.219 GB, free: 3.301 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.2e-05/1.139, allocations: 0 / 1.219 GB, free: 3.301 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.794e-05/1.139, allocations: 4 kB / 1.219 GB, free: 3.297 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.018e-05/1.139, allocations: 5.094 kB / 1.219 GB, free: 3.293 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.937e-05/1.139, allocations: 2.438 kB / 1.219 GB, free: 3.293 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.271e-05/1.139, allocations: 11.86 kB / 1.219 GB, free: 3.281 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.381e-05/1.139, allocations: 0 / 1.219 GB, free: 3.281 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/1.139, allocations: 1.219 kB / 1.219 GB, free: 3.281 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.5e-06/1.139, allocations: 0 / 1.219 GB, free: 3.281 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.691e-05/1.139, allocations: 4 kB / 1.219 GB, free: 3.277 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.547e-05/1.139, allocations: 1.094 kB / 1.219 GB, free: 3.277 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.848e-05/1.139, allocations: 5.109 kB / 1.219 GB, free: 3.273 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/1.139, allocations: 4 kB / 1.219 GB, free: 3.27 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.885e-06/1.139, allocations: 1.469 kB / 1.219 GB, free: 3.27 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.245e-06/1.139, allocations: 0 / 1.219 GB, free: 3.27 MB / 0.92 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.0004841/1.14, allocations: 317.6 kB / 1.219 GB, free: 2.914 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.249e-05/1.14, allocations: 9.188 kB / 1.219 GB, free: 2.914 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/1.14, allocations: 2.094 kB / 1.219 GB, free: 2.914 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/1.14, allocations: 164.4 kB / 1.22 GB, free: 2.715 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/1.14, allocations: 5.5 kB / 1.22 GB, free: 2.711 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/1.14, allocations: 1.906 kB / 1.22 GB, free: 2.711 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/1.14, allocations: 31.2 kB / 1.22 GB, free: 2.676 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/1.14, allocations: 4.172 kB / 1.22 GB, free: 2.672 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/1.14, allocations: 9.281 kB / 1.22 GB, free: 2.664 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/1.14, allocations: 0 / 1.22 GB, free: 2.664 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.316e-05/1.14, allocations: 1.25 kB / 1.22 GB, free: 2.664 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004755/1.141, allocations: 378.2 kB / 1.22 GB, free: 2.246 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/1.141, allocations: 174.4 kB / 1.22 GB, free: 2.066 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.853e-05/1.141, allocations: 85.67 kB / 1.22 GB, free: 1.98 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.572e-05/1.141, allocations: 75.28 kB / 1.22 GB, free: 1.906 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.706e-05/1.141, allocations: 105.8 kB / 1.22 GB, free: 1.793 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.503e-06/1.141, allocations: 1.125 kB / 1.22 GB, free: 1.793 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 0.0001034/1.141, allocations: 30.83 kB / 1.22 GB, free: 1.758 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/1.141, allocations: 130.7 kB / 1.221 GB, free: 1.617 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/1.141, allocations: 97.56 kB / 1.221 GB, free: 1.516 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/1.141, allocations: 25.7 kB / 1.221 GB, free: 1.484 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.077e-05/1.142, allocations: 80.14 kB / 1.221 GB, free: 1.402 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.115e-06/1.142, allocations: 0.9375 kB / 1.221 GB, free: 1.402 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/1.142, allocations: 10.94 kB / 1.221 GB, free: 1.387 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001847/1.142, allocations: 316.1 kB / 1.221 GB, free: 1.07 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.554e-06/1.142, allocations: 4.125 kB / 1.221 GB, free: 1.066 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.021e-06/1.142, allocations: 3.938 kB / 1.221 GB, free: 1.062 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.149e-05/1.142, allocations: 76.34 kB / 1.221 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.467e-05/1.142, allocations: 75.28 kB / 1.221 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.271e-05/1.142, allocations: 35.94 kB / 1.221 GB, free: 0.875 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.674e-05/1.142, allocations: 81.22 kB / 1.221 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.593e-05/1.142, allocations: 79.31 kB / 1.221 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.035e-05/1.142, allocations: 159.6 kB / 1.222 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.041e-05/1.142, allocations: 80.38 kB / 1.222 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.219e-05/1.142, allocations: 155.7 kB / 1.222 GB, free: 344 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/1.142, allocations: 84.5 kB / 1.222 GB, free: 260 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.274e-05/1.142, allocations: 79.22 kB / 1.222 GB, free: 180 kB / 0.92 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.0002324/1.143, allocations: 277.7 kB / 1.222 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.935e-05/1.143, allocations: 106.4 kB / 1.222 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.162e-05/1.143, allocations: 105.6 kB / 1.222 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001116/1.143, allocations: 185.3 kB / 1.223 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.35e-05/1.143, allocations: 177.1 kB / 1.223 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001008/1.143, allocations: 185 kB / 1.223 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000332/1.143, allocations: 403.4 kB / 1.223 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.97e-05/1.144, allocations: 101 kB / 1.223 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.148e-05/1.144, allocations: 114 kB / 1.223 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000109/1.144, allocations: 177.4 kB / 1.224 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/1.144, allocations: 181.3 kB / 1.224 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001237/1.144, allocations: 181.4 kB / 1.224 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001165/1.144, allocations: 181.3 kB / 1.224 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/1.144, allocations: 311.4 kB / 1.224 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/1.144, allocations: 183.1 kB / 1.225 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/1.144, allocations: 177.6 kB / 1.225 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/1.145, allocations: 110 kB / 1.225 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/1.145, allocations: 189.3 kB / 1.225 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-05/1.145, allocations: 102.1 kB / 1.225 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.177e-05/1.145, allocations: 77.62 kB / 1.225 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/1.145, allocations: 0 / 1.225 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003/1.145, allocations: 1.312 kB / 1.225 GB, free: 12.53 MB / 0.9356 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.0001927/1.145, allocations: 172.8 kB / 1.225 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.335e-05/1.145, allocations: 5.062 kB / 1.225 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.145, allocations: 1.25 kB / 1.225 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/1.145, allocations: 0 / 1.225 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/1.146, allocations: 467.9 kB / 1.226 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003217/1.146, allocations: 158.8 kB / 1.226 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/1.147, allocations: 0.6703 MB / 1.227 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.087e-05/1.147, allocations: 0 / 1.227 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/1.147, allocations: 7.438 kB / 1.227 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of SimCode: time 5.71e-07/1.147, allocations: 1.156 kB / 1.227 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of Templates: time 0.0029/1.15, allocations: 173.2 kB / 1.227 GB, free: 10.93 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.56643921136856]