Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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.001941/0.001941, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.001721/0.001721, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.48/1.48, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.247/3.247, allocations: 429.6 MB / 0.673 GB, free: 3.902 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0.7656 kB / 0.8776 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.227e-05/3.498e-05, allocations: 6.25 kB / 0.8776 GB, free: 6.469 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001935/0.00197, allocations: 0.5677 MB / 0.8782 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 4.211e-05/0.002012, allocations: 0 / 0.8782 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.878e-05/0.002041, allocations: 1.125 kB / 0.8782 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.621e-05/0.002067, allocations: 0 / 0.8782 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.318e-05/0.0021, allocations: 4.812 kB / 0.8782 GB, free: 5.922 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.754e-05/0.002138, allocations: 5.125 kB / 0.8782 GB, free: 5.918 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.699e-05/0.002195, allocations: 1.094 kB / 0.8782 GB, free: 5.918 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.296e-05/0.002237, allocations: 4 kB / 0.8782 GB, free: 5.914 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.754e-05/0.002265, allocations: 1.062 kB / 0.8782 GB, free: 5.914 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.218e-05/0.002287, allocations: 0 / 0.8782 GB, free: 5.914 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.002301, allocations: 0 / 0.8782 GB, free: 5.914 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.737e-06/0.002304, allocations: 0.75 kB / 0.8782 GB, free: 5.914 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.59e-05/0.00232, allocations: 4.859 kB / 0.8782 GB, free: 5.91 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.323e-05/0.002344, allocations: 5.625 kB / 0.8782 GB, free: 5.906 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 6.006e-05/0.002404, allocations: 4.641 kB / 0.8782 GB, free: 5.902 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.002408, allocations: 4 kB / 0.8782 GB, free: 5.898 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.41e-07/0.002409, allocations: 0 / 0.8782 GB, free: 5.898 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.002413, allocations: 1 kB / 0.8782 GB, free: 5.898 MB / 0.8386 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.0003452/0.002759, allocations: 234.4 kB / 0.8784 GB, free: 5.637 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.002802, allocations: 12.23 kB / 0.8784 GB, free: 5.625 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.002839, allocations: 6.031 kB / 0.8784 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.00304, allocations: 105.7 kB / 0.8785 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.003052, allocations: 1.031 kB / 0.8785 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-06/0.00306, allocations: 384 / 0.8785 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.046e-05/0.00315, allocations: 38.83 kB / 0.8786 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.003158, allocations: 1.781 kB / 0.8786 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.003167, allocations: 384 / 0.8786 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.003171, allocations: 384 / 0.8786 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.742e-05/0.003189, allocations: 3.938 kB / 0.8786 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/0.003546, allocations: 335.1 kB / 0.8789 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.003681, allocations: 172.3 kB / 0.8791 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.015e-05/0.003731, allocations: 84.08 kB / 0.8791 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.747e-05/0.003779, allocations: 75.28 kB / 0.8792 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.371e-05/0.003852, allocations: 109.8 kB / 0.8793 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.003853, allocations: 0 / 0.8793 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 9.057e-05/0.003944, allocations: 29.64 kB / 0.8794 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.083e-05/0.004025, allocations: 126.7 kB / 0.8795 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.004129, allocations: 103.2 kB / 0.8796 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.004147, allocations: 25.7 kB / 0.8796 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.198e-05/0.004199, allocations: 80.14 kB / 0.8797 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-06/0.004201, allocations: 0 / 0.8797 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.004231, allocations: 15.28 kB / 0.8797 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.004397, allocations: 314.8 kB / 0.88 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.979e-06/0.004402, allocations: 0 / 0.88 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.256e-06/0.004405, allocations: 0 / 0.88 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.91e-05/0.004454, allocations: 76.38 kB / 0.8801 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.799e-05/0.004492, allocations: 75.28 kB / 0.8801 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.607e-05/0.004568, allocations: 29.7 kB / 0.8802 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.433e-05/0.004623, allocations: 83.41 kB / 0.8802 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.984e-05/0.004673, allocations: 87.16 kB / 0.8803 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001004/0.004773, allocations: 158.5 kB / 0.8805 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.92e-05/0.004812, allocations: 76.03 kB / 0.8805 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.101e-05/0.004893, allocations: 154.5 kB / 0.8807 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.424e-05/0.004977, allocations: 79.28 kB / 0.8808 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.2e-05/0.005019, allocations: 79.22 kB / 0.8808 GB, free: 3.012 MB / 0.8386 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.0001669/0.005186, allocations: 260.4 kB / 0.8811 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.911e-05/0.005265, allocations: 101 kB / 0.8812 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.732e-05/0.005343, allocations: 123.9 kB / 0.8813 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.937e-05/0.005442, allocations: 188.4 kB / 0.8815 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001086/0.005551, allocations: 176.3 kB / 0.8817 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.583e-05/0.005646, allocations: 184.2 kB / 0.8818 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.005905, allocations: 356.9 kB / 0.8822 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.418e-05/0.005969, allocations: 109 kB / 0.8823 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.039e-05/0.006029, allocations: 104.9 kB / 0.8824 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.316e-05/0.006123, allocations: 180.3 kB / 0.8826 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/0.006223, allocations: 180.2 kB / 0.8827 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001048/0.006328, allocations: 188.2 kB / 0.8829 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001111/0.006439, allocations: 180.2 kB / 0.8831 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.006642, allocations: 299.8 kB / 0.8834 GB, free: 292 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.563e-05/0.006707, allocations: 116.9 kB / 0.8835 GB, free: 168 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.006831, allocations: 176.3 kB / 0.8836 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.768e-05/0.006929, allocations: 112.9 kB / 0.8837 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.007032, allocations: 184.3 kB / 0.8839 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.211e-05/0.007084, allocations: 101 kB / 0.884 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.76e-05/0.007132, allocations: 75.28 kB / 0.8841 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007132, allocations: 0 / 0.8841 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002521/0.007384, allocations: 0 / 0.8841 GB, free: 15.5 MB / 0.8542 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.0001619/0.007546, allocations: 182.5 kB / 0.8843 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 3.942e-05/0.007585, allocations: 0 / 0.8843 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.007587, allocations: 0 / 0.8843 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.238e-06/0.007591, allocations: 4 kB / 0.8843 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.008055, allocations: 451.7 kB / 0.8847 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002976/0.008353, allocations: 159.1 kB / 0.8849 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.682e-05/0.00842, allocations: 59.2 kB / 0.8849 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.244e-06/0.008422, allocations: 4 kB / 0.8849 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.858e-05/0.008441, allocations: 8.5 kB / 0.8849 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of SimCode: time 8.62e-07/0.008441, allocations: 0 / 0.8849 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of Templates: time 0.002103/0.01054, allocations: 168.7 kB / 0.8851 GB, free: 14.43 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.146260332898237]