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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=5000,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=5000,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_11_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.001665/0.001665, allocations: 106.1 kB / 15.98 MB, free: 5.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.378/1.378, allocations: 222.9 MB / 240.6 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.686/2.686, allocations: 469.8 MB / 0.7427 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 67.02 kB / 0.9087 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2852, allocations: 159.2 MB / 1.064 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001931/0.2872, allocations: 0.7651 MB / 1.065 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.2882, allocations: 0.8681 MB / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.463e-05/0.2883, allocations: 0 / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.106e-05/0.2883, allocations: 0 / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.03e-05/0.2884, allocations: 7.938 kB / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.2886, allocations: 23.97 kB / 1.066 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.165e-05/0.2887, allocations: 51.8 kB / 1.066 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.901e-05/0.2888, allocations: 7.984 kB / 1.066 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.311e-05/0.2888, allocations: 19.92 kB / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.174e-05/0.2889, allocations: 19.92 kB / 1.066 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.2889, allocations: 7.938 kB / 1.066 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.1e-05/0.2889, allocations: 4 kB / 1.066 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.289, allocations: 8 kB / 1.066 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.285e-05/0.289, allocations: 23.86 kB / 1.066 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.947e-05/0.2891, allocations: 27.92 kB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2891, allocations: 0 / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2891, allocations: 0 / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.2891, allocations: 4 kB / 1.066 GB, free: 12.73 MB / 0.8262 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.0005103/0.2896, allocations: 353.4 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.2897, allocations: 12.03 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.2897, allocations: 8.844 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.2899, allocations: 172.3 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.2899, allocations: 4.375 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.2899, allocations: 4.375 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002891/0.2902, allocations: 70.16 kB / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.2902, allocations: 192 / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.2902, allocations: 3.938 kB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.2902, allocations: 0 / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002821/0.2905, allocations: 67.92 kB / 1.067 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00048/0.291, allocations: 264.9 kB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.2913, allocations: 62.42 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.2914, allocations: 40.91 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.2914, allocations: 0 / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.2915, allocations: 34.56 kB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.2915, allocations: 0 / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005834/0.2921, allocations: 133.8 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.2922, allocations: 51.41 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.2923, allocations: 113.8 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.2923, allocations: 25.7 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.2924, allocations: 88.14 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.2924, allocations: 7.812 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.784e-05/0.2925, allocations: 25.7 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.2927, allocations: 310.8 kB / 1.068 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.2928, allocations: 27.97 kB / 1.068 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.293, allocations: 43.94 kB / 1.068 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.2932, allocations: 76.72 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.2933, allocations: 3.938 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003253/0.2936, allocations: 93.62 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.2936, allocations: 4 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.2936, allocations: 0 / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.2937, allocations: 4 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.2938, allocations: 19.92 kB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.2938, allocations: 3.938 kB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.233e-05/0.2939, allocations: 15.97 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.2939, allocations: 0 / 1.068 GB, free: 10.4 MB / 0.8262 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 0.0001138/0.2941, allocations: 113.8 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.607e-05/0.2941, allocations: 7.906 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.729e-05/0.2941, allocations: 11.91 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.2942, allocations: 0 / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.2942, allocations: 0 / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.2942, allocations: 4 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.2944, allocations: 169.6 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.2944, allocations: 4 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.898e-05/0.2945, allocations: 15.98 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.2946, allocations: 0 / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.2946, allocations: 0 / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/0.2946, allocations: 4 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2946, allocations: 4 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004002/0.295, allocations: 195.3 kB / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.759e-05/0.2951, allocations: 84.95 kB / 1.069 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.2951, allocations: 0 / 1.069 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.2952, allocations: 19.98 kB / 1.069 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/0.2952, allocations: 7.984 kB / 1.069 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.2953, allocations: 0 / 1.069 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.555e-05/0.2953, allocations: 83.28 kB / 1.069 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2953, allocations: 4 kB / 1.069 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002131/0.2955, allocations: 4 kB / 1.069 GB, free: 9.586 MB / 0.8262 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.0001811/0.2957, allocations: 103.2 kB / 1.069 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003384/0.2961, allocations: 71.92 kB / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.2961, allocations: 4 kB / 1.069 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.2962, allocations: 39.91 kB / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.2966, allocations: 15.86 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003716/0.2969, allocations: 157.1 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.2973, allocations: 0.6807 MB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.2973, allocations: 11.44 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.2973, allocations: 0 / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of Templates: time 0.002261/0.2996, allocations: 0.7455 MB / 1.07 GB, free: 7.707 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile (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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches