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.001499/0.001499, allocations: 118.7 kB / 17.13 MB, free: 5.758 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.001595/0.001595, allocations: 193.2 kB / 20.08 MB, free: 2.848 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.412/1.412, allocations: 225.6 MB / 248.5 MB, free: 3.645 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.57/2.57, allocations: 443.5 MB / 0.7293 GB, free: 14.7 MB / 0.5763 GB " [Timeout remaining time 177] 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=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.001951/0.001951, allocations: 79.83 kB / 1.057 GB, free: 2.133 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3131, allocations: 160.7 MB / 1.214 GB, free: 1.109 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001901/0.315, allocations: 0.5485 MB / 1.215 GB, free: 0.5547 MB / 0.9513 GB Notification: Performance of NFInst.instExpressions: time 3.87e-05/0.315, allocations: 8 kB / 1.215 GB, free: 0.5469 MB / 0.9513 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.617e-05/0.3151, allocations: 0 / 1.215 GB, free: 0.5469 MB / 0.9513 GB Notification: Performance of NFTyping.typeComponents: time 2.575e-05/0.3151, allocations: 0 / 1.215 GB, free: 0.5469 MB / 0.9513 GB Notification: Performance of NFTyping.typeBindings: time 2.636e-05/0.3151, allocations: 0 / 1.215 GB, free: 0.5469 MB / 0.9513 GB Notification: Performance of NFTyping.typeClassSections: time 2.852e-05/0.3152, allocations: 4 kB / 1.215 GB, free: 0.543 MB / 0.9513 GB Notification: Performance of NFFlatten.flatten: time 5.154e-05/0.3152, allocations: 0 / 1.215 GB, free: 0.543 MB / 0.9513 GB Notification: Performance of NFFlatten.resolveConnections: time 4.7e-05/0.3153, allocations: 0 / 1.215 GB, free: 0.543 MB / 0.9513 GB Notification: Performance of NFEvalConstants.evaluate: time 1.453e-05/0.3153, allocations: 3.984 kB / 1.215 GB, free: 0.5391 MB / 0.9513 GB Notification: Performance of NFSimplifyModel.simplify: time 1.784e-05/0.3153, allocations: 4 kB / 1.215 GB, free: 0.5352 MB / 0.9513 GB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.3153, allocations: 0 / 1.215 GB, free: 0.5352 MB / 0.9513 GB Notification: Performance of NFFlatten.collectFunctions: time 7.173e-06/0.3153, allocations: 0 / 1.215 GB, free: 0.5352 MB / 0.9513 GB Notification: Performance of NFScalarize.scalarize: time 1.431e-05/0.3153, allocations: 7.938 kB / 1.215 GB, free: 0.5273 MB / 0.9513 GB Notification: Performance of NFVerifyModel.verify: time 2.135e-05/0.3153, allocations: 0 / 1.215 GB, free: 0.5273 MB / 0.9513 GB Notification: Performance of NFConvertDAE.convert: time 6.369e-05/0.3154, allocations: 7.984 kB / 1.215 GB, free: 0.5195 MB / 0.9513 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.3154, allocations: 0 / 1.215 GB, free: 0.5195 MB / 0.9513 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3154, allocations: 0 / 1.215 GB, free: 0.5195 MB / 0.9513 GB Notification: Performance of Transformations before backend: time 8.086e-06/0.3154, allocations: 4 kB / 1.215 GB, free: 0.5156 MB / 0.9513 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.0003126/0.3157, allocations: 319.3 kB / 1.215 GB, free: 156 kB / 0.9513 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.3158, allocations: 12.06 kB / 1.215 GB, free: 144 kB / 0.9513 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.105e-05/0.3158, allocations: 0.9375 kB / 1.215 GB, free: 144 kB / 0.9513 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.3159, allocations: 168.4 kB / 1.215 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.316, allocations: 384 / 1.215 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.316, allocations: 384 / 1.215 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.952e-05/0.316, allocations: 34.33 kB / 1.215 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.3161, allocations: 192 / 1.215 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.3161, allocations: 3.938 kB / 1.215 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3161, allocations: 0 / 1.215 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.186e-05/0.3161, allocations: 0 / 1.215 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003407/0.3164, allocations: 391.5 kB / 1.216 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.3165, allocations: 169.1 kB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.773e-05/0.3166, allocations: 84.17 kB / 1.216 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.3166, allocations: 79.22 kB / 1.216 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.798e-05/0.3167, allocations: 105.8 kB / 1.216 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.3167, allocations: 4 kB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 6.894e-05/0.3167, allocations: 29.64 kB / 1.216 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.859e-05/0.3168, allocations: 134.7 kB / 1.216 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.745e-05/0.3169, allocations: 93.86 kB / 1.216 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.3169, allocations: 25.7 kB / 1.216 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.234e-05/0.317, allocations: 80.14 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.322e-06/0.317, allocations: 0 / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.418e-05/0.317, allocations: 17.84 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3171, allocations: 310.8 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.887e-06/0.3171, allocations: 0 / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.579e-06/0.3171, allocations: 4 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.237e-05/0.3172, allocations: 75.28 kB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.826e-05/0.3172, allocations: 75.28 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.052e-05/0.3173, allocations: 41.56 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.157e-05/0.3173, allocations: 81.16 kB / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-05/0.3173, allocations: 83.28 kB / 1.217 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000114/0.3175, allocations: 150.6 kB / 1.217 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.219e-05/0.3175, allocations: 79.22 kB / 1.217 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.176e-05/0.3176, allocations: 154.6 kB / 1.217 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.631e-05/0.3176, allocations: 83.22 kB / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.189e-05/0.3177, allocations: 79.28 kB / 1.217 GB, free: 13.38 MB / 0.9669 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.0001419/0.3178, allocations: 268.3 kB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.543e-05/0.3179, allocations: 105.7 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.338e-05/0.3179, allocations: 108.1 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.414e-05/0.318, allocations: 176.3 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.749e-05/0.3181, allocations: 180.2 kB / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001571/0.3183, allocations: 196.2 kB / 1.218 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.3185, allocations: 405.4 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.264e-05/0.3186, allocations: 101 kB / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.358e-05/0.3187, allocations: 105 kB / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.627e-05/0.3188, allocations: 196.2 kB / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.969e-05/0.3189, allocations: 176.3 kB / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.673e-05/0.319, allocations: 184.2 kB / 1.22 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001236/0.3191, allocations: 176.3 kB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.3193, allocations: 315.6 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.3194, allocations: 182.1 kB / 1.22 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.3195, allocations: 184.2 kB / 1.22 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.758e-05/0.3196, allocations: 105 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.588e-05/0.3197, allocations: 176.3 kB / 1.221 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-05/0.3197, allocations: 108.9 kB / 1.221 GB, free: 9.777 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.479e-05/0.3198, allocations: 79.28 kB / 1.221 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3198, allocations: 0 / 1.221 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002805/0.3201, allocations: 96 / 1.221 GB, free: 9.699 MB / 0.9669 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.0001865/0.3202, allocations: 178.5 kB / 1.221 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 4.566e-05/0.3203, allocations: 0 / 1.221 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3203, allocations: 0 / 1.221 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.3203, allocations: 0 / 1.221 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004574/0.3208, allocations: 475.5 kB / 1.221 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002459/0.321, allocations: 185.9 kB / 1.222 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.3213, allocations: 0.669 MB / 1.222 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.733e-05/0.3213, allocations: 7.438 kB / 1.222 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of SimCode: time 3.2e-07/0.3213, allocations: 0 / 1.222 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of Templates: time 0.001589/0.3229, allocations: 323.8 kB / 1.223 GB, free: 7.809 MB / 0.9669 GB " [Timeout remaining time 300] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.07171236188151]