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.0009693/0.0009693, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.002005/0.002005, allocations: 173 kB / 23.5 MB, free: 1.051 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.102/1.102, allocations: 177.1 MB / 203.8 MB, free: 5.621 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.246/2.246, allocations: 429.5 MB / 0.6736 GB, free: 4.062 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 1.974e-06/1.974e-06, allocations: 0 / 0.8782 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.368e-05, allocations: 6.844 kB / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001525/0.001549, allocations: 0.5704 MB / 0.8788 GB, free: 6.082 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 5.264e-05/0.001601, allocations: 7.406 kB / 0.8788 GB, free: 6.078 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.132e-05/0.001633, allocations: 0 / 0.8788 GB, free: 6.078 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.759e-05/0.00166, allocations: 1.094 kB / 0.8788 GB, free: 6.078 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.52e-05/0.001695, allocations: 3.938 kB / 0.8788 GB, free: 6.074 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.626e-05/0.001732, allocations: 0 / 0.8788 GB, free: 6.074 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.815e-05/0.00179, allocations: 0 / 0.8788 GB, free: 6.074 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.922e-05/0.001839, allocations: 4.875 kB / 0.8788 GB, free: 6.07 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.871e-05/0.001878, allocations: 4 kB / 0.8788 GB, free: 6.066 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.542e-05/0.001903, allocations: 0.5938 kB / 0.8788 GB, free: 6.066 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.001925, allocations: 0 / 0.8788 GB, free: 6.066 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.319e-06/0.001929, allocations: 2.203 kB / 0.8788 GB, free: 6.066 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.287e-05/0.001942, allocations: 0 / 0.8788 GB, free: 6.066 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.93e-05/0.001961, allocations: 0.6562 kB / 0.8788 GB, free: 6.066 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 7.332e-05/0.002035, allocations: 7.984 kB / 0.8788 GB, free: 6.059 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.002037, allocations: 0.875 kB / 0.8788 GB, free: 6.059 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.51e-07/0.002037, allocations: 0.5 kB / 0.8788 GB, free: 6.059 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.002041, allocations: 1.312 kB / 0.8788 GB, free: 6.059 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.0002685/0.00231, allocations: 336.4 kB / 0.8791 GB, free: 5.691 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.002358, allocations: 8.031 kB / 0.8791 GB, free: 5.684 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.002397, allocations: 6.156 kB / 0.8791 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.002501, allocations: 112.6 kB / 0.8792 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.002514, allocations: 1.719 kB / 0.8792 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-06/0.002523, allocations: 1.469 kB / 0.8792 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.877e-05/0.002602, allocations: 34.25 kB / 0.8793 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.00261, allocations: 5.625 kB / 0.8793 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.002619, allocations: 384 / 0.8793 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.002628, allocations: 384 / 0.8793 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.209e-05/0.00264, allocations: 3.938 kB / 0.8793 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003005/0.00294, allocations: 474.2 kB / 0.8797 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.222e-05/0.003033, allocations: 265.5 kB / 0.88 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.912e-05/0.003072, allocations: 134.8 kB / 0.8801 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.0031, allocations: 123.2 kB / 0.8802 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.684e-05/0.003147, allocations: 156.9 kB / 0.8804 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.003148, allocations: 0 / 0.8804 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 5.967e-05/0.003207, allocations: 29.64 kB / 0.8804 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.003264, allocations: 178.5 kB / 0.8806 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005318/0.003796, allocations: 149.9 kB / 0.8807 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.604e-06/0.003803, allocations: 29.7 kB / 0.8807 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.565e-05/0.003839, allocations: 131 kB / 0.8809 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.003841, allocations: 0 / 0.8809 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.803e-05/0.003859, allocations: 15.38 kB / 0.8809 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.00397, allocations: 496.1 kB / 0.8814 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.62e-06/0.003976, allocations: 7.938 kB / 0.8814 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.329e-06/0.00398, allocations: 0.75 kB / 0.8814 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.955e-05/0.00401, allocations: 123.2 kB / 0.8815 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.817e-05/0.004038, allocations: 119.2 kB / 0.8816 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.375e-05/0.004072, allocations: 33.7 kB / 0.8816 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/0.004113, allocations: 123.2 kB / 0.8818 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.911e-05/0.004142, allocations: 127.1 kB / 0.8819 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.271e-05/0.004204, allocations: 246.4 kB / 0.8821 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.302e-05/0.004227, allocations: 119.3 kB / 0.8822 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.449e-05/0.004282, allocations: 250.3 kB / 0.8825 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.742e-05/0.004329, allocations: 119.2 kB / 0.8826 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.004356, allocations: 127.1 kB / 0.8827 GB, free: 1.848 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 9.744e-05/0.004454, allocations: 395 kB / 0.8831 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.267e-05/0.004497, allocations: 148.9 kB / 0.8832 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.972e-05/0.004546, allocations: 151.8 kB / 0.8834 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-05/0.004608, allocations: 272 kB / 0.8836 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.04e-05/0.004668, allocations: 268.1 kB / 0.8839 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.778e-05/0.004726, allocations: 272 kB / 0.8841 GB, free: 332 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.004895, allocations: 499.9 kB / 0.8846 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.444e-05/0.00493, allocations: 148.9 kB / 0.8848 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.215e-05/0.004962, allocations: 148.8 kB / 0.8849 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.363e-05/0.005016, allocations: 268.1 kB / 0.8851 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.273e-05/0.005078, allocations: 268 kB / 0.8854 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.775e-05/0.005136, allocations: 272 kB / 0.8857 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.429e-05/0.00519, allocations: 272 kB / 0.8859 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.005302, allocations: 440 kB / 0.8863 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.548e-05/0.005337, allocations: 148.8 kB / 0.8865 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.31e-05/0.005401, allocations: 276.1 kB / 0.8867 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.34e-05/0.005454, allocations: 156.8 kB / 0.8869 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/0.005517, allocations: 268 kB / 0.8872 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-05/0.005551, allocations: 149.2 kB / 0.8873 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.359e-05/0.005585, allocations: 119.2 kB / 0.8874 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.005585, allocations: 0 / 0.8874 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001573/0.005742, allocations: 0 / 0.8874 GB, free: 12.82 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 9.218e-05/0.005835, allocations: 218.4 kB / 0.8876 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 3.493e-05/0.00587, allocations: 0 / 0.8876 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.005871, allocations: 4.094 kB / 0.8876 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.005872, allocations: 0 / 0.8876 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007178/0.00659, allocations: 0.7101 MB / 0.8883 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001951/0.006785, allocations: 204.7 kB / 0.8885 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.005e-05/0.006815, allocations: 55.36 kB / 0.8886 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.794e-06/0.006817, allocations: 0 / 0.8886 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.073e-05/0.006827, allocations: 8.5 kB / 0.8886 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of SimCode: time 6.31e-07/0.006828, allocations: 0 / 0.8886 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of Templates: time 0.0013/0.008128, allocations: 168.7 kB / 0.8887 GB, free: 11.4 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.885201194090769]