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.0009615/0.0009615, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009772/0.0009772, allocations: 169 kB / 23.02 MB, free: 1.547 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 0.9481/0.9481, allocations: 177.1 MB / 203.4 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] 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 2.187/2.187, allocations: 429.5 MB / 0.6732 GB, free: 4.066 MB / 0.6355 GB " [Timeout remaining time 177] 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.635e-06/2.635e-06, allocations: 0 / 0.8782 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.072e-05/3.335e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001507/0.001541, allocations: 0.5697 MB / 0.8787 GB, free: 5.773 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 4.742e-05/0.001588, allocations: 4.188 kB / 0.8787 GB, free: 5.77 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.397e-05/0.001612, allocations: 1.094 kB / 0.8787 GB, free: 5.77 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.878e-05/0.001641, allocations: 3.938 kB / 0.8787 GB, free: 5.766 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.633e-05/0.001667, allocations: 0 / 0.8787 GB, free: 5.766 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.347e-05/0.001701, allocations: 5.797 kB / 0.8788 GB, free: 5.762 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.156e-05/0.001752, allocations: 0 / 0.8788 GB, free: 5.762 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.655e-05/0.001799, allocations: 4.531 kB / 0.8788 GB, free: 5.758 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.729e-05/0.001826, allocations: 0.6562 kB / 0.8788 GB, free: 5.758 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 1.89e-05/0.001845, allocations: 1.031 kB / 0.8788 GB, free: 5.758 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.00186, allocations: 4.641 kB / 0.8788 GB, free: 5.754 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.108e-06/0.001865, allocations: 0 / 0.8788 GB, free: 5.754 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.21e-05/0.001877, allocations: 1.062 kB / 0.8788 GB, free: 5.754 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.218e-05/0.001899, allocations: 8.656 kB / 0.8788 GB, free: 5.746 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 6.061e-05/0.001959, allocations: 0 / 0.8788 GB, free: 5.746 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.001962, allocations: 2.078 kB / 0.8788 GB, free: 5.746 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.81e-07/0.001962, allocations: 0 / 0.8788 GB, free: 5.746 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.001967, allocations: 0 / 0.8788 GB, free: 5.746 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.0002684/0.002236, allocations: 341.5 kB / 0.8791 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.002279, allocations: 8.031 kB / 0.8791 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.002312, allocations: 5.281 kB / 0.8791 GB, free: 5.363 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.983e-05/0.002392, allocations: 109.2 kB / 0.8792 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.002402, allocations: 2.016 kB / 0.8792 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.002412, allocations: 4.375 kB / 0.8792 GB, free: 5.227 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.94e-05/0.002482, allocations: 34.2 kB / 0.8793 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.00249, allocations: 0.8125 kB / 0.8793 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.002498, allocations: 384 / 0.8793 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.002505, allocations: 2.031 kB / 0.8793 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.779e-06/0.002515, allocations: 3.938 kB / 0.8793 GB, free: 5.184 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002805/0.002795, allocations: 473.6 kB / 0.8797 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.794e-05/0.002883, allocations: 273.4 kB / 0.88 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.591e-05/0.002929, allocations: 126.9 kB / 0.8801 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.002955, allocations: 119.2 kB / 0.8802 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.003, allocations: 156.6 kB / 0.8804 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.003001, allocations: 0 / 0.8804 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 5.715e-05/0.003058, allocations: 33.95 kB / 0.8804 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.003109, allocations: 170.6 kB / 0.8806 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.256e-05/0.003192, allocations: 158.5 kB / 0.8807 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.235e-06/0.0032, allocations: 30.8 kB / 0.8807 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.911e-05/0.003239, allocations: 130.8 kB / 0.8809 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.452e-06/0.003241, allocations: 0 / 0.8809 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.757e-05/0.003258, allocations: 15.88 kB / 0.8809 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.00337, allocations: 496.1 kB / 0.8813 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.669e-06/0.003375, allocations: 1.531 kB / 0.8813 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.586e-06/0.003379, allocations: 0.75 kB / 0.8813 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.05e-05/0.003409, allocations: 119.2 kB / 0.8815 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.578e-05/0.003435, allocations: 123.2 kB / 0.8816 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.036e-05/0.003475, allocations: 37.81 kB / 0.8816 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.715e-05/0.003512, allocations: 123.2 kB / 0.8817 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.125e-05/0.003544, allocations: 127.1 kB / 0.8819 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.319e-05/0.003607, allocations: 246.4 kB / 0.8821 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.039e-05/0.003637, allocations: 119.3 kB / 0.8822 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.167e-05/0.003689, allocations: 246.3 kB / 0.8824 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.077e-05/0.00374, allocations: 123.2 kB / 0.8826 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.003769, allocations: 123.1 kB / 0.8827 GB, free: 1.547 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.0001069/0.003876, allocations: 394.9 kB / 0.8831 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.775e-05/0.003924, allocations: 152.9 kB / 0.8832 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.725e-05/0.003981, allocations: 163.8 kB / 0.8834 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.621e-05/0.004047, allocations: 264.1 kB / 0.8836 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.011e-05/0.004117, allocations: 268.1 kB / 0.8839 GB, free: 296 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.326e-05/0.00418, allocations: 272 kB / 0.8841 GB, free: 16 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.004362, allocations: 499.9 kB / 0.8846 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.512e-05/0.004397, allocations: 148.8 kB / 0.8847 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.64e-05/0.004434, allocations: 144.9 kB / 0.8849 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.069e-05/0.004495, allocations: 272.1 kB / 0.8851 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000258/0.004753, allocations: 268 kB / 0.8854 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.698e-05/0.004809, allocations: 268 kB / 0.8856 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.862e-05/0.004868, allocations: 276 kB / 0.8859 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.004997, allocations: 444 kB / 0.8863 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.905e-05/0.005036, allocations: 148.8 kB / 0.8865 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.138e-05/0.005117, allocations: 268.1 kB / 0.8867 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.495e-05/0.005172, allocations: 152.8 kB / 0.8869 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.554e-05/0.005238, allocations: 272.1 kB / 0.8871 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-05/0.00527, allocations: 149.2 kB / 0.8873 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.095e-05/0.005311, allocations: 127.1 kB / 0.8874 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.005311, allocations: 0 / 0.8874 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001599/0.005471, allocations: 0 / 0.8874 GB, free: 12.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.0001111/0.005582, allocations: 218.5 kB / 0.8876 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 4.125e-05/0.005623, allocations: 0 / 0.8876 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.005625, allocations: 0 / 0.8876 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.005626, allocations: 0 / 0.8876 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.00593, allocations: 0.7023 MB / 0.8883 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002173/0.006147, allocations: 216.7 kB / 0.8885 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.611e-05/0.006183, allocations: 51.36 kB / 0.8886 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.833e-06/0.006185, allocations: 3.938 kB / 0.8886 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.147e-05/0.006197, allocations: 8.5 kB / 0.8886 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of SimCode: time 7.32e-07/0.006197, allocations: 4 kB / 0.8886 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of Templates: time 0.001524/0.007721, allocations: 160.7 kB / 0.8887 GB, free: 11.09 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.590965170878917]