Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 113.5 kB / 17.08 MB, free: 5.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002149/0.002149, allocations: 192.7 kB / 20.02 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.714/2.714, allocations: 437.1 MB / 0.7177 GB, free: 4.496 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001983, allocations: 71.89 kB / 1.028 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3353, allocations: 151.6 MB / 1.176 GB, free: 5.801 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001974/0.3373, allocations: 0.7126 MB / 1.177 GB, free: 5.086 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.3384, allocations: 0.8784 MB / 1.177 GB, free: 4.195 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.494e-05/0.3385, allocations: 4 kB / 1.177 GB, free: 4.191 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.341e-05/0.3385, allocations: 3.938 kB / 1.177 GB, free: 4.188 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.252e-05/0.3386, allocations: 3.938 kB / 1.177 GB, free: 4.184 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001862/0.3388, allocations: 19.92 kB / 1.177 GB, free: 4.164 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.3389, allocations: 43.84 kB / 1.178 GB, free: 4.121 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.339, allocations: 12 kB / 1.178 GB, free: 4.109 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.298e-05/0.3391, allocations: 15.92 kB / 1.178 GB, free: 4.094 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.281e-05/0.3391, allocations: 23.91 kB / 1.178 GB, free: 4.07 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.3392, allocations: 8 kB / 1.178 GB, free: 4.062 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.222e-05/0.3392, allocations: 4 kB / 1.178 GB, free: 4.059 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.955e-05/0.3392, allocations: 15.92 kB / 1.178 GB, free: 4.043 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.3393, allocations: 7.938 kB / 1.178 GB, free: 4.035 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.3394, allocations: 43.8 kB / 1.178 GB, free: 3.992 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/0.3394, allocations: 4 kB / 1.178 GB, free: 3.988 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.655e-06/0.3394, allocations: 3.938 kB / 1.178 GB, free: 3.984 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.3394, allocations: 0 / 1.178 GB, free: 3.984 MB / 0.92 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.000605/0.34, allocations: 367.3 kB / 1.178 GB, free: 3.574 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.3401, allocations: 8.031 kB / 1.178 GB, free: 3.566 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.3401, allocations: 4.891 kB / 1.178 GB, free: 3.562 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.3403, allocations: 172.3 kB / 1.178 GB, free: 3.355 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.3403, allocations: 384 / 1.178 GB, free: 3.355 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.3403, allocations: 8.359 kB / 1.178 GB, free: 3.348 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.3406, allocations: 70.16 kB / 1.178 GB, free: 3.273 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3406, allocations: 192 / 1.178 GB, free: 3.273 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.3406, allocations: 7.938 kB / 1.178 GB, free: 3.266 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3406, allocations: 0 / 1.178 GB, free: 3.266 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002977/0.341, allocations: 63.92 kB / 1.178 GB, free: 3.203 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003967/0.3414, allocations: 268.9 kB / 1.179 GB, free: 2.891 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.3416, allocations: 62.42 kB / 1.179 GB, free: 2.82 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.3417, allocations: 44.84 kB / 1.179 GB, free: 2.773 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.3418, allocations: 0 / 1.179 GB, free: 2.773 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.3418, allocations: 30.56 kB / 1.179 GB, free: 2.734 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.3418, allocations: 0 / 1.179 GB, free: 2.734 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005566/0.3424, allocations: 133.6 kB / 1.179 GB, free: 2.598 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.3424, allocations: 51.41 kB / 1.179 GB, free: 2.535 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.648e-05/0.3425, allocations: 109.8 kB / 1.179 GB, free: 2.418 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.3426, allocations: 25.7 kB / 1.179 GB, free: 2.387 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.265e-05/0.3426, allocations: 88.14 kB / 1.179 GB, free: 2.297 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.3427, allocations: 15.91 kB / 1.179 GB, free: 2.281 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.3427, allocations: 13.72 kB / 1.179 GB, free: 2.262 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3429, allocations: 318.8 kB / 1.179 GB, free: 1.941 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.343, allocations: 27.97 kB / 1.179 GB, free: 1.914 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.3432, allocations: 31.95 kB / 1.179 GB, free: 1.883 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002926/0.3435, allocations: 73.06 kB / 1.18 GB, free: 1.809 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3435, allocations: 3.938 kB / 1.18 GB, free: 1.805 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003314/0.3438, allocations: 101.6 kB / 1.18 GB, free: 1.699 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3438, allocations: 4 kB / 1.18 GB, free: 1.695 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3438, allocations: 7.938 kB / 1.18 GB, free: 1.688 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3439, allocations: 0 / 1.18 GB, free: 1.688 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.344, allocations: 15.98 kB / 1.18 GB, free: 1.672 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.344, allocations: 3.938 kB / 1.18 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.113e-05/0.3441, allocations: 11.98 kB / 1.18 GB, free: 1.656 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.3441, allocations: 0 / 1.18 GB, free: 1.656 MB / 0.92 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 8.927e-05/0.3442, allocations: 113.8 kB / 1.18 GB, free: 1.535 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.3442, allocations: 11.95 kB / 1.18 GB, free: 1.523 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.975e-05/0.3443, allocations: 7.906 kB / 1.18 GB, free: 1.508 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3443, allocations: 0 / 1.18 GB, free: 1.508 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.3443, allocations: 4 kB / 1.18 GB, free: 1.504 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3443, allocations: 0 / 1.18 GB, free: 1.504 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.3445, allocations: 177.5 kB / 1.18 GB, free: 1.281 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.3445, allocations: 3.984 kB / 1.18 GB, free: 1.277 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.639e-05/0.3446, allocations: 11.98 kB / 1.18 GB, free: 1.266 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.3446, allocations: 0 / 1.18 GB, free: 1.266 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.3447, allocations: 4 kB / 1.18 GB, free: 1.262 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3447, allocations: 4 kB / 1.18 GB, free: 1.258 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3447, allocations: 0 / 1.18 GB, free: 1.258 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003945/0.3451, allocations: 199.3 kB / 1.18 GB, free: 1.047 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/0.3451, allocations: 81.06 kB / 1.18 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.3451, allocations: 4 kB / 1.18 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.3453, allocations: 11.98 kB / 1.18 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.3453, allocations: 7.984 kB / 1.18 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.3453, allocations: 7.938 kB / 1.18 GB, free: 0.918 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.966e-05/0.3454, allocations: 87.58 kB / 1.18 GB, free: 0.832 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.3454, allocations: 0 / 1.18 GB, free: 0.832 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002133/0.3456, allocations: 4 kB / 1.18 GB, free: 0.8281 MB / 0.92 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.0001608/0.3458, allocations: 103.2 kB / 1.181 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003847/0.3462, allocations: 75.91 kB / 1.181 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.3462, allocations: 0 / 1.181 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.3463, allocations: 35.91 kB / 1.181 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.3467, allocations: 9.969 kB / 1.181 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003406/0.347, allocations: 151.1 kB / 1.181 GB, free: 432 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.3474, allocations: 0.6807 MB / 1.181 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.76e-05/0.3474, allocations: 11.44 kB / 1.181 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.3474, allocations: 0 / 1.181 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of Templates: time 0.002358/0.3498, allocations: 0.751 MB / 1.182 GB, free: 14.96 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.194412805023603]