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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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=5000,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=5000,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 92.08 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 183.6 kB / 16.92 MB, free: 6.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.778/2.778, allocations: 462.6 MB / 0.737 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003742/0.0003744, allocations: 11.34 kB / 0.9034 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3263, allocations: 159.6 MB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.000941/0.3272, allocations: 440.4 kB / 1.06 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.3284, allocations: 0.8625 MB / 1.061 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.993e-05/0.3284, allocations: 4 kB / 1.061 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.3285, allocations: 0 / 1.061 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.78e-05/0.3286, allocations: 11.92 kB / 1.061 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.3287, allocations: 19.98 kB / 1.061 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.3289, allocations: 47.78 kB / 1.061 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.329, allocations: 8 kB / 1.061 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.779e-05/0.329, allocations: 7.984 kB / 1.061 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.963e-05/0.3291, allocations: 23.86 kB / 1.061 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.885e-05/0.3291, allocations: 4 kB / 1.061 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.181e-05/0.3292, allocations: 4 kB / 1.061 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.3292, allocations: 7.984 kB / 1.061 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.582e-05/0.3292, allocations: 37.64 kB / 1.061 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.854e-05/0.3293, allocations: 31.8 kB / 1.061 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3293, allocations: 0 / 1.061 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3293, allocations: 0 / 1.061 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.3293, allocations: 0 / 1.061 GB, free: 3.484 MB / 0.8106 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.0005464/0.3299, allocations: 377 kB / 1.061 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.3299, allocations: 11.97 kB / 1.061 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.866e-05/0.33, allocations: 8.938 kB / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.3301, allocations: 172.2 kB / 1.061 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.3301, allocations: 4.375 kB / 1.061 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.3302, allocations: 4.312 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002784/0.3304, allocations: 86.2 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.3305, allocations: 192 / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.3305, allocations: 3.938 kB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3305, allocations: 0 / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003265/0.3308, allocations: 83.94 kB / 1.062 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003564/0.3312, allocations: 265 kB / 1.062 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/0.3314, allocations: 74.41 kB / 1.062 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.3316, allocations: 48.92 kB / 1.062 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.3316, allocations: 3.984 kB / 1.062 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.3317, allocations: 38.55 kB / 1.062 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3317, allocations: 0 / 1.062 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005908/0.3323, allocations: 165.5 kB / 1.062 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.3323, allocations: 55.34 kB / 1.062 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.304e-05/0.3324, allocations: 105.8 kB / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.3324, allocations: 25.7 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.916e-05/0.3325, allocations: 92.12 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.3325, allocations: 3.906 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.463e-05/0.3325, allocations: 13.72 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.3327, allocations: 318.8 kB / 1.063 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.3328, allocations: 39.95 kB / 1.063 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.333, allocations: 43.97 kB / 1.063 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003054/0.3333, allocations: 92.78 kB / 1.063 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.3333, allocations: 3.938 kB / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003676/0.3337, allocations: 125.5 kB / 1.063 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.3337, allocations: 5.719 kB / 1.063 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3337, allocations: 0 / 1.063 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.3338, allocations: 3.938 kB / 1.063 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.3339, allocations: 27.97 kB / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3339, allocations: 0 / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.51e-05/0.334, allocations: 15.98 kB / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.334, allocations: 0 / 1.063 GB, free: 0.9883 MB / 0.8106 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 7.503e-05/0.3341, allocations: 117.8 kB / 1.063 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.3341, allocations: 3.938 kB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.007e-05/0.3342, allocations: 15.89 kB / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.3342, allocations: 0 / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.3342, allocations: 0 / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3342, allocations: 0 / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.3344, allocations: 169.6 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3344, allocations: 0 / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.3345, allocations: 19.98 kB / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3345, allocations: 0 / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.3345, allocations: 7.984 kB / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3345, allocations: 0 / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.3345, allocations: 4 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004047/0.3349, allocations: 223.3 kB / 1.064 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.547e-05/0.335, allocations: 81.05 kB / 1.064 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.335, allocations: 4 kB / 1.064 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.3351, allocations: 23.97 kB / 1.064 GB, free: 240 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.3352, allocations: 8 kB / 1.064 GB, free: 232 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.3352, allocations: 0 / 1.064 GB, free: 232 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.748e-05/0.3352, allocations: 87.25 kB / 1.064 GB, free: 144 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3352, allocations: 0 / 1.064 GB, free: 144 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002332/0.3355, allocations: 12 kB / 1.064 GB, free: 132 kB / 0.8106 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.0001691/0.3357, allocations: 99.25 kB / 1.064 GB, free: 24 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003771/0.336, allocations: 88.3 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3361, allocations: 7.938 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.3362, allocations: 47.95 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.3366, allocations: 7.938 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003413/0.3369, allocations: 170.3 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.3372, allocations: 0.6809 MB / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.562e-05/0.3372, allocations: 11.44 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3372, allocations: 0 / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of Templates: time 0.002083/0.3393, allocations: 0.7314 MB / 1.066 GB, free: 14.23 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches