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.00111/0.00111, allocations: 69.89 kB / 20.65 MB, free: 3.844 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.001015/0.001015, allocations: 169 kB / 24.05 MB, free: 452 kB / 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.056/1.056, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.081/2.081, allocations: 429.5 MB / 0.6743 GB, free: 3.922 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.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.996e-06/2.996e-06, allocations: 1.094 kB / 0.8795 GB, free: 5.961 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/3.106e-05, allocations: 4.844 kB / 0.8795 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001538/0.001569, allocations: 0.7218 MB / 0.8802 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009929/0.002562, allocations: 0.9067 MB / 0.8811 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.647e-05/0.002608, allocations: 4.875 kB / 0.8811 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.643e-05/0.002645, allocations: 2.781 kB / 0.8811 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.091e-05/0.002736, allocations: 12.95 kB / 0.8811 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.002919, allocations: 23.91 kB / 0.8811 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.365e-05/0.003002, allocations: 43.86 kB / 0.8811 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.003105, allocations: 11.92 kB / 0.8812 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.722e-05/0.003192, allocations: 19.98 kB / 0.8812 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.048e-05/0.003243, allocations: 15.92 kB / 0.8812 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.003266, allocations: 4.719 kB / 0.8812 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.031e-05/0.003277, allocations: 5.656 kB / 0.8812 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/0.003299, allocations: 15.97 kB / 0.8812 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.117e-05/0.00332, allocations: 4 kB / 0.8812 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.907e-05/0.003409, allocations: 31.91 kB / 0.8812 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.003412, allocations: 0 / 0.8812 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.223e-06/0.003413, allocations: 0.5 kB / 0.8812 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.003417, allocations: 1.344 kB / 0.8812 GB, free: 4.156 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003668/0.003784, allocations: 380.5 kB / 0.8816 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.003821, allocations: 8.031 kB / 0.8816 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/0.003855, allocations: 6.531 kB / 0.8816 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.832e-05/0.003943, allocations: 120.5 kB / 0.8817 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.003953, allocations: 384 / 0.8817 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.285e-06/0.003961, allocations: 4.375 kB / 0.8817 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.004086, allocations: 74.88 kB / 0.8818 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.004093, allocations: 192 / 0.8818 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.004099, allocations: 384 / 0.8818 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.004104, allocations: 384 / 0.8818 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.291e-05/0.004127, allocations: 7.938 kB / 0.8818 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002961/0.004423, allocations: 240.4 kB / 0.8821 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.279e-05/0.004496, allocations: 43.05 kB / 0.8821 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.145e-05/0.004517, allocations: 11.69 kB / 0.8821 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.004533, allocations: 0 / 0.8821 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.004554, allocations: 33.39 kB / 0.8821 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.004556, allocations: 4 kB / 0.8821 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001457/0.004701, allocations: 57.59 kB / 0.8822 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.004738, allocations: 63.34 kB / 0.8823 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.835e-05/0.004816, allocations: 165.9 kB / 0.8824 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.004828, allocations: 25.7 kB / 0.8824 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.044e-05/0.004879, allocations: 130.9 kB / 0.8826 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.0049, allocations: 15.84 kB / 0.8826 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.004934, allocations: 23.36 kB / 0.8826 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.005068, allocations: 0.4884 MB / 0.8831 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.401e-05/0.005082, allocations: 0 / 0.8831 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.283e-05/0.005095, allocations: 8 kB / 0.8831 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.985e-05/0.005135, allocations: 15.67 kB / 0.8831 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.005137, allocations: 0 / 0.8831 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.845e-05/0.005205, allocations: 41.7 kB / 0.8831 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.005218, allocations: 7.938 kB / 0.8831 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.005222, allocations: 0 / 0.8831 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.005232, allocations: 7.922 kB / 0.8832 GB, free: 2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.429e-05/0.005306, allocations: 8 kB / 0.8832 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.005309, allocations: 0 / 0.8832 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.575e-05/0.005335, allocations: 7.984 kB / 0.8832 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.005341, allocations: 8 kB / 0.8832 GB, free: 1.977 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 (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.931e-05/0.00541, allocations: 152.6 kB / 0.8833 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.872e-05/0.005429, allocations: 7.953 kB / 0.8833 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.705e-05/0.005456, allocations: 8 kB / 0.8833 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.005459, allocations: 3.938 kB / 0.8833 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.005461, allocations: 0 / 0.8833 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.005465, allocations: 0 / 0.8833 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.005568, allocations: 105.2 kB / 0.8834 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.00557, allocations: 4 kB / 0.8834 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.374e-05/0.005604, allocations: 15.98 kB / 0.8835 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.005606, allocations: 4 kB / 0.8835 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.005611, allocations: 0 / 0.8835 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.005611, allocations: 0 / 0.8835 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.005612, allocations: 0 / 0.8835 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.005726, allocations: 195.8 kB / 0.8837 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-06/0.005733, allocations: 3.953 kB / 0.8837 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.767e-06/0.005742, allocations: 0 / 0.8837 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.933e-05/0.005781, allocations: 15.92 kB / 0.8837 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.005815, allocations: 7.938 kB / 0.8837 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.005818, allocations: 0 / 0.8837 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.892e-05/0.005857, allocations: 127.2 kB / 0.8838 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005857, allocations: 4 kB / 0.8838 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001403/0.005997, allocations: 8 kB / 0.8838 GB, free: 1.27 MB / 0.8386 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 0.0001084/0.006105, allocations: 97.88 kB / 0.8839 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.32e-05/0.006179, allocations: 23.98 kB / 0.8839 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.00618, allocations: 0 / 0.8839 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.385e-05/0.006204, allocations: 15.69 kB / 0.8839 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.006406, allocations: 9.531 kB / 0.884 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000252/0.006658, allocations: 130.5 kB / 0.8841 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.482e-05/0.006693, allocations: 59.34 kB / 0.8841 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.869e-05/0.006711, allocations: 0 / 0.8841 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.667e-05/0.006768, allocations: 78.2 kB / 0.8842 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of SimCode: time 8.12e-07/0.006769, allocations: 0 / 0.8842 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of Templates: time 0.002341/0.00911, allocations: 0.8924 MB / 0.8851 GB, free: 15.92 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.455681731924415]