Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.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.001327/0.001327, allocations: 81.08 kB / 19.87 MB, free: 4.617 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.001703/0.001703, allocations: 169 kB / 23.27 MB, free: 1.219 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.9736/0.9736, allocations: 177.1 MB / 203.7 MB, free: 5.5 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.367/2.367, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 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.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.825e-06/2.825e-06, allocations: 0 / 0.8898 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.926e-05, allocations: 5.547 kB / 0.8898 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001376/0.001406, allocations: 0.7337 MB / 0.8905 GB, free: 8.988 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0008508/0.002256, allocations: 0.9053 MB / 0.8914 GB, free: 8.07 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.467e-05/0.002291, allocations: 0 / 0.8914 GB, free: 8.07 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.483e-05/0.002316, allocations: 3.938 kB / 0.8914 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.801e-05/0.002384, allocations: 7.938 kB / 0.8914 GB, free: 8.059 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001563/0.00254, allocations: 27.91 kB / 0.8914 GB, free: 8.031 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.555e-05/0.002606, allocations: 39.91 kB / 0.8915 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.201e-05/0.002698, allocations: 11.94 kB / 0.8915 GB, free: 7.98 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 9.662e-05/0.002794, allocations: 27.91 kB / 0.8915 GB, free: 7.953 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.738e-05/0.002842, allocations: 11.98 kB / 0.8915 GB, free: 7.941 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.00286, allocations: 4 kB / 0.8915 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.187e-06/0.00287, allocations: 4 kB / 0.8915 GB, free: 7.934 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.002886, allocations: 11.92 kB / 0.8916 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.049e-05/0.002907, allocations: 11.98 kB / 0.8916 GB, free: 7.91 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.796e-05/0.002985, allocations: 31.91 kB / 0.8916 GB, free: 7.879 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.002987, allocations: 0 / 0.8916 GB, free: 7.879 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.31e-07/0.002988, allocations: 4 kB / 0.8916 GB, free: 7.875 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.002992, allocations: 0 / 0.8916 GB, free: 7.875 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003225/0.003314, allocations: 384.5 kB / 0.892 GB, free: 7.461 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.003353, allocations: 8.625 kB / 0.892 GB, free: 7.453 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.798e-05/0.003381, allocations: 8.891 kB / 0.892 GB, free: 7.445 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.102e-05/0.003452, allocations: 116.5 kB / 0.8921 GB, free: 7.305 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.447e-06/0.003462, allocations: 384 / 0.8921 GB, free: 7.305 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.003471, allocations: 4.359 kB / 0.8921 GB, free: 7.301 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.003611, allocations: 70.94 kB / 0.8922 GB, free: 7.223 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.003618, allocations: 4.188 kB / 0.8922 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.003626, allocations: 384 / 0.8922 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.003631, allocations: 384 / 0.8922 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.72e-05/0.003659, allocations: 7.938 kB / 0.8922 GB, free: 7.211 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002725/0.003931, allocations: 248.3 kB / 0.8924 GB, free: 6.941 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.489e-05/0.003986, allocations: 31.12 kB / 0.8924 GB, free: 6.898 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.764e-05/0.004004, allocations: 15.77 kB / 0.8925 GB, free: 6.879 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.004023, allocations: 4 kB / 0.8925 GB, free: 6.875 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.004042, allocations: 33.39 kB / 0.8925 GB, free: 6.832 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 2.285e-06/0.004045, allocations: 3.984 kB / 0.8925 GB, free: 6.828 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0001253/0.00417, allocations: 53.56 kB / 0.8926 GB, free: 6.77 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.004195, allocations: 51.41 kB / 0.8926 GB, free: 6.707 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.673e-05/0.004261, allocations: 169.9 kB / 0.8928 GB, free: 6.523 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/0.004271, allocations: 25.7 kB / 0.8928 GB, free: 6.492 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/0.004313, allocations: 134.9 kB / 0.8929 GB, free: 6.355 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.004331, allocations: 11.84 kB / 0.8929 GB, free: 6.344 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/0.004358, allocations: 23.38 kB / 0.893 GB, free: 6.312 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.004464, allocations: 0.4884 MB / 0.8934 GB, free: 5.812 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.113e-05/0.004475, allocations: 7.938 kB / 0.8934 GB, free: 5.805 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.988e-06/0.004485, allocations: 0 / 0.8934 GB, free: 5.805 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.794e-05/0.004513, allocations: 23.67 kB / 0.8935 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.004514, allocations: 0 / 0.8935 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.636e-05/0.004571, allocations: 45.64 kB / 0.8935 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.004583, allocations: 4 kB / 0.8935 GB, free: 5.723 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.004588, allocations: 0 / 0.8935 GB, free: 5.723 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.004599, allocations: 3.938 kB / 0.8935 GB, free: 5.719 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.711e-05/0.004676, allocations: 11.98 kB / 0.8935 GB, free: 5.707 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.004679, allocations: 0 / 0.8935 GB, free: 5.707 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.227e-05/0.004701, allocations: 7.984 kB / 0.8935 GB, free: 5.699 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.004706, allocations: 0 / 0.8935 GB, free: 5.699 MB / 0.8542 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 (3): * Single equations (assignments): 3 * 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 6.211e-05/0.004768, allocations: 160.6 kB / 0.8937 GB, free: 5.531 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.004782, allocations: 3.953 kB / 0.8937 GB, free: 5.527 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.004812, allocations: 12 kB / 0.8937 GB, free: 5.508 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.004815, allocations: 3.938 kB / 0.8937 GB, free: 5.504 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.004816, allocations: 0 / 0.8937 GB, free: 5.504 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.004819, allocations: 0 / 0.8937 GB, free: 5.504 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.664e-05/0.004906, allocations: 105.2 kB / 0.8938 GB, free: 5.375 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.004907, allocations: 0 / 0.8938 GB, free: 5.375 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.957e-05/0.004937, allocations: 15.98 kB / 0.8938 GB, free: 5.359 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.004938, allocations: 0 / 0.8938 GB, free: 5.359 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-06/0.004943, allocations: 4 kB / 0.8938 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.004943, allocations: 0 / 0.8938 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.004946, allocations: 7.938 kB / 0.8938 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.576e-05/0.005041, allocations: 187.9 kB / 0.894 GB, free: 5.145 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-06/0.005049, allocations: 7.953 kB / 0.894 GB, free: 5.137 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.374e-06/0.005057, allocations: 0 / 0.894 GB, free: 5.137 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.573e-05/0.005092, allocations: 11.98 kB / 0.894 GB, free: 5.125 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.005123, allocations: 7.938 kB / 0.894 GB, free: 5.117 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.005125, allocations: 0 / 0.894 GB, free: 5.117 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.593e-05/0.005161, allocations: 127.2 kB / 0.8942 GB, free: 4.992 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.005161, allocations: 0 / 0.8942 GB, free: 4.992 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001321/0.005293, allocations: 12 kB / 0.8942 GB, free: 4.98 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 (3): * Single equations (assignments): 3 * 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 8.982e-05/0.005383, allocations: 95.25 kB / 0.8943 GB, free: 4.879 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.435e-05/0.005447, allocations: 23.98 kB / 0.8943 GB, free: 4.852 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.005449, allocations: 3.938 kB / 0.8943 GB, free: 4.848 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.018e-05/0.005469, allocations: 15.77 kB / 0.8943 GB, free: 4.828 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.005811, allocations: 11.98 kB / 0.8943 GB, free: 4.816 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002221/0.006034, allocations: 130.3 kB / 0.8944 GB, free: 4.66 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.984e-05/0.006063, allocations: 59.34 kB / 0.8945 GB, free: 4.582 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.725e-05/0.006081, allocations: 0 / 0.8945 GB, free: 4.582 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.233e-05/0.006133, allocations: 78.2 kB / 0.8946 GB, free: 4.504 MB / 0.8542 GB Notification: Performance of SimCode: time 6.52e-07/0.006134, allocations: 0 / 0.8946 GB, free: 4.504 MB / 0.8542 GB Notification: Performance of Templates: time 0.002211/0.008345, allocations: 0.8643 MB / 0.8954 GB, free: 3.648 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.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.238458621315658]