Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 83.69 kB / 20.23 MB, free: 4.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002037/0.002037, allocations: 161.7 kB / 23.55 MB, free: 0.8711 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.562/1.562, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.939/2.939, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.976e-05, allocations: 2.875 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001906/0.001936, allocations: 0.5871 MB / 0.787 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 4.131e-05/0.001978, allocations: 4.188 kB / 0.787 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.825e-05/0.002006, allocations: 0.5625 kB / 0.787 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.041e-05/0.002026, allocations: 0 / 0.787 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.581e-05/0.002062, allocations: 4.688 kB / 0.787 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.117e-05/0.002093, allocations: 0 / 0.787 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.408e-05/0.002147, allocations: 0.9688 kB / 0.787 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.14e-05/0.002189, allocations: 4 kB / 0.787 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.176e-05/0.00222, allocations: 0.625 kB / 0.787 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.228e-05/0.002243, allocations: 0 / 0.787 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.002256, allocations: 4.625 kB / 0.787 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.787e-06/0.00226, allocations: 0 / 0.787 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.002275, allocations: 4.766 kB / 0.787 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.15e-05/0.002296, allocations: 4 kB / 0.787 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 6.149e-05/0.002358, allocations: 5.062 kB / 0.787 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.00236, allocations: 0 / 0.787 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.71e-07/0.00236, allocations: 0 / 0.787 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.002364, allocations: 0.5625 kB / 0.787 GB, free: 12.17 MB / 0.7448 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.0004106/0.002775, allocations: 344.4 kB / 0.7874 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.002817, allocations: 8.812 kB / 0.7874 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.002857, allocations: 4.938 kB / 0.7874 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.002986, allocations: 105.8 kB / 0.7875 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.003, allocations: 384 / 0.7875 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.003012, allocations: 8.359 kB / 0.7875 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.82e-05/0.0031, allocations: 30.8 kB / 0.7875 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.003109, allocations: 6.938 kB / 0.7875 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.003119, allocations: 384 / 0.7875 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.003124, allocations: 384 / 0.7875 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.424e-05/0.003148, allocations: 7.938 kB / 0.7875 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004567/0.003605, allocations: 478.2 kB / 0.788 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.003792, allocations: 261.4 kB / 0.7882 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.516e-05/0.003867, allocations: 130.8 kB / 0.7884 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.787e-05/0.003935, allocations: 120.6 kB / 0.7885 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.273e-05/0.004028, allocations: 156.6 kB / 0.7886 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.004029, allocations: 0 / 0.7886 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 8.72e-05/0.004116, allocations: 29.64 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.004226, allocations: 175.2 kB / 0.7888 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.004373, allocations: 158.8 kB / 0.789 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.00439, allocations: 25.7 kB / 0.789 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.531e-05/0.004465, allocations: 131.6 kB / 0.7891 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-06/0.004467, allocations: 0 / 0.7891 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.004501, allocations: 20.75 kB / 0.7891 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002575/0.004759, allocations: 492.1 kB / 0.7896 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.13e-06/0.004764, allocations: 3.938 kB / 0.7896 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.276e-06/0.004767, allocations: 1.812 kB / 0.7896 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.467e-05/0.004832, allocations: 119.2 kB / 0.7897 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.063e-05/0.004892, allocations: 119.2 kB / 0.7898 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.812e-05/0.004961, allocations: 34.31 kB / 0.7899 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.174e-05/0.005042, allocations: 124.9 kB / 0.79 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.038e-05/0.005113, allocations: 132.6 kB / 0.7901 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001365/0.005249, allocations: 242.4 kB / 0.7904 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-05/0.005319, allocations: 119.3 kB / 0.7905 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001351/0.005454, allocations: 250.3 kB / 0.7907 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.927e-05/0.005554, allocations: 119.7 kB / 0.7908 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.23e-05/0.005616, allocations: 123.1 kB / 0.7909 GB, free: 7.969 MB / 0.7448 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.0002417/0.005858, allocations: 400.9 kB / 0.7913 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.949e-05/0.005957, allocations: 144.9 kB / 0.7915 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.006059, allocations: 155.8 kB / 0.7916 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000145/0.006204, allocations: 276 kB / 0.7919 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001477/0.006352, allocations: 266.6 kB / 0.7921 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001433/0.006495, allocations: 268 kB / 0.7924 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00034/0.006835, allocations: 0.4921 MB / 0.7929 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.94e-05/0.006915, allocations: 144.9 kB / 0.793 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.298e-05/0.006998, allocations: 152.8 kB / 0.7931 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001377/0.007135, allocations: 264.1 kB / 0.7934 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002897/0.007425, allocations: 268 kB / 0.7937 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000148/0.007573, allocations: 280.5 kB / 0.7939 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001349/0.007708, allocations: 268.7 kB / 0.7942 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.008008, allocations: 436 kB / 0.7946 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-05/0.0081, allocations: 157.3 kB / 0.7947 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/0.008278, allocations: 269.7 kB / 0.795 GB, free: 3.633 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.008426, allocations: 152.8 kB / 0.7951 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.008588, allocations: 268.1 kB / 0.7954 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.566e-05/0.008683, allocations: 145.2 kB / 0.7955 GB, free: 3.059 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.336e-05/0.008767, allocations: 119.8 kB / 0.7957 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.008767, allocations: 7.938 kB / 0.7957 GB, free: 2.934 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002522/0.009019, allocations: 0.6875 kB / 0.7957 GB, free: 2.934 MB / 0.7448 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.0002403/0.009259, allocations: 219 kB / 0.7959 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.926e-05/0.009318, allocations: 4.938 kB / 0.7959 GB, free: 2.707 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.009321, allocations: 0 / 0.7959 GB, free: 2.707 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.172e-06/0.009327, allocations: 5.156 kB / 0.7959 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000594/0.009921, allocations: 0.7023 MB / 0.7966 GB, free: 1.996 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003357/0.01026, allocations: 211.6 kB / 0.7968 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.722e-05/0.01032, allocations: 59.88 kB / 0.7968 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.974e-06/0.01033, allocations: 0.875 kB / 0.7968 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.909e-05/0.01034, allocations: 8.5 kB / 0.7968 GB, free: 1.676 MB / 0.7448 GB Notification: Performance of SimCode: time 8.22e-07/0.01035, allocations: 0.8438 kB / 0.7968 GB, free: 1.676 MB / 0.7448 GB Notification: Performance of Templates: time 0.002497/0.01284, allocations: 162.6 kB / 0.797 GB, free: 1.52 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.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: 7.989530195016414]