Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009301/0.0009301, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0009647/0.0009647, allocations: 166 kB / 24.87 MB, free: 9.258 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.9608/0.9608, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] 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 1.779/1.779, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] 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.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.7884 GB, free: 11.05 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.151e-05, allocations: 11.02 kB / 0.7884 GB, free: 11.04 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.004521/0.004542, allocations: 0.7214 MB / 0.7891 GB, free: 10.34 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008869/0.005429, allocations: 0.9035 MB / 0.79 GB, free: 9.426 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.457e-05/0.005464, allocations: 0 / 0.79 GB, free: 9.426 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.442e-05/0.005488, allocations: 3.938 kB / 0.79 GB, free: 9.422 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.478e-05/0.005553, allocations: 16.92 kB / 0.79 GB, free: 9.406 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/0.005687, allocations: 15.98 kB / 0.79 GB, free: 9.391 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.759e-05/0.005755, allocations: 45.41 kB / 0.79 GB, free: 9.348 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.794e-05/0.005833, allocations: 15.92 kB / 0.7901 GB, free: 9.332 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.051e-05/0.005904, allocations: 23.92 kB / 0.7901 GB, free: 9.309 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.682e-05/0.00594, allocations: 11.98 kB / 0.7901 GB, free: 9.297 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.005957, allocations: 8.75 kB / 0.7901 GB, free: 9.289 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.335e-06/0.005965, allocations: 4 kB / 0.7901 GB, free: 9.285 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.59e-05/0.005981, allocations: 8.891 kB / 0.7901 GB, free: 9.277 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.836e-05/0.005999, allocations: 11.94 kB / 0.7901 GB, free: 9.266 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 7.045e-05/0.00607, allocations: 34.39 kB / 0.7902 GB, free: 9.234 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.006072, allocations: 0 / 0.7902 GB, free: 9.234 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.71e-07/0.006072, allocations: 0 / 0.7902 GB, free: 9.234 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.006075, allocations: 0 / 0.7902 GB, free: 9.234 MB / 0.698 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.0003118/0.006387, allocations: 376.2 kB / 0.7905 GB, free: 8.828 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.006416, allocations: 8.031 kB / 0.7905 GB, free: 8.82 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.662e-05/0.006443, allocations: 10.67 kB / 0.7905 GB, free: 8.812 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.328e-05/0.006516, allocations: 116.5 kB / 0.7906 GB, free: 8.672 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.006525, allocations: 384 / 0.7906 GB, free: 8.672 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.006533, allocations: 8.312 kB / 0.7907 GB, free: 8.664 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.006642, allocations: 67.53 kB / 0.7907 GB, free: 8.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.006648, allocations: 4.125 kB / 0.7907 GB, free: 8.586 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.111e-06/0.006654, allocations: 1.75 kB / 0.7907 GB, free: 8.586 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.006659, allocations: 384 / 0.7907 GB, free: 8.586 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.344e-05/0.006682, allocations: 7.938 kB / 0.7907 GB, free: 8.578 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000211/0.006893, allocations: 245.5 kB / 0.791 GB, free: 8.312 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.288e-05/0.006946, allocations: 35.05 kB / 0.791 GB, free: 8.266 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.899e-05/0.006965, allocations: 15.69 kB / 0.791 GB, free: 8.246 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.006978, allocations: 5.375 kB / 0.791 GB, free: 8.242 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.006995, allocations: 33.39 kB / 0.7911 GB, free: 8.199 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.006996, allocations: 0 / 0.7911 GB, free: 8.199 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.003128/0.01012, allocations: 51.64 kB / 0.7911 GB, free: 8.145 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.01015, allocations: 51.41 kB / 0.7911 GB, free: 8.082 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.073e-05/0.01022, allocations: 169.9 kB / 0.7913 GB, free: 7.898 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.01023, allocations: 29.7 kB / 0.7913 GB, free: 7.863 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.158e-05/0.01027, allocations: 134.8 kB / 0.7915 GB, free: 7.727 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.01029, allocations: 13.03 kB / 0.7915 GB, free: 7.715 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/0.01032, allocations: 23.38 kB / 0.7915 GB, free: 7.684 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.01042, allocations: 496.1 kB / 0.792 GB, free: 7.188 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.357e-05/0.01044, allocations: 4.469 kB / 0.792 GB, free: 7.184 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.392e-05/0.01045, allocations: 7.984 kB / 0.792 GB, free: 7.176 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.025e-05/0.01048, allocations: 21.61 kB / 0.792 GB, free: 7.152 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.01048, allocations: 0 / 0.792 GB, free: 7.152 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.244e-05/0.01055, allocations: 45.69 kB / 0.7921 GB, free: 7.102 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.01056, allocations: 6.812 kB / 0.7921 GB, free: 7.098 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.01056, allocations: 0 / 0.7921 GB, free: 7.098 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.01057, allocations: 6.531 kB / 0.7921 GB, free: 7.094 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.067e-05/0.01063, allocations: 8 kB / 0.7921 GB, free: 7.086 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.01063, allocations: 3.938 kB / 0.7921 GB, free: 7.082 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.044e-05/0.01066, allocations: 11.94 kB / 0.7921 GB, free: 7.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.01067, allocations: 0 / 0.7921 GB, free: 7.07 MB / 0.698 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 5.604e-05/0.01073, allocations: 157.1 kB / 0.7922 GB, free: 6.906 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.01075, allocations: 4 kB / 0.7922 GB, free: 6.902 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.163e-05/0.01077, allocations: 8.719 kB / 0.7922 GB, free: 6.895 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01077, allocations: 3.938 kB / 0.7923 GB, free: 6.891 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.01077, allocations: 4.469 kB / 0.7923 GB, free: 6.887 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01077, allocations: 5.641 kB / 0.7923 GB, free: 6.883 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.01088, allocations: 97.27 kB / 0.7924 GB, free: 6.762 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.01088, allocations: 0 / 0.7924 GB, free: 6.762 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.381e-05/0.01092, allocations: 11.98 kB / 0.7924 GB, free: 6.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.01092, allocations: 0.5 kB / 0.7924 GB, free: 6.75 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.01092, allocations: 4 kB / 0.7924 GB, free: 6.746 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.01092, allocations: 0.5938 kB / 0.7924 GB, free: 6.746 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.01092, allocations: 0.7812 kB / 0.7924 GB, free: 6.746 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.01103, allocations: 199.8 kB / 0.7926 GB, free: 6.531 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.542e-06/0.01103, allocations: 4.844 kB / 0.7926 GB, free: 6.527 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.837e-06/0.01104, allocations: 0 / 0.7926 GB, free: 6.527 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.639e-05/0.0111, allocations: 12.83 kB / 0.7926 GB, free: 6.516 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.01113, allocations: 11.92 kB / 0.7926 GB, free: 6.504 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.01113, allocations: 1.281 kB / 0.7926 GB, free: 6.504 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.499e-05/0.01117, allocations: 123.5 kB / 0.7927 GB, free: 6.383 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.01117, allocations: 0 / 0.7927 GB, free: 6.383 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001949/0.01136, allocations: 8 kB / 0.7927 GB, free: 6.375 MB / 0.698 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 6.859e-05/0.01143, allocations: 96.09 kB / 0.7928 GB, free: 6.27 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.614e-05/0.0115, allocations: 20.89 kB / 0.7928 GB, free: 6.246 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-06/0.0115, allocations: 0 / 0.7928 GB, free: 6.246 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.561e-05/0.01152, allocations: 19.62 kB / 0.7928 GB, free: 6.223 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.01174, allocations: 9.531 kB / 0.7929 GB, free: 6.215 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002068/0.01195, allocations: 128.2 kB / 0.793 GB, free: 6.062 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.692e-05/0.01198, allocations: 59.34 kB / 0.793 GB, free: 5.984 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.185e-05/0.012, allocations: 6.75 kB / 0.793 GB, free: 5.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.343e-05/0.01206, allocations: 74.2 kB / 0.7931 GB, free: 5.906 MB / 0.698 GB Notification: Performance of SimCode: time 5.41e-07/0.01206, allocations: 0 / 0.7931 GB, free: 5.906 MB / 0.698 GB Notification: Performance of Templates: time 0.005302/0.01736, allocations: 0.8879 MB / 0.794 GB, free: 5.047 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.80405457271263]