Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product1.u1|product1.u2|product1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product1.u1|product1.u2|product1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 99.06 kB / 16.27 MB, free: 5.855 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.001799/0.001799, allocations: 191.1 kB / 17.2 MB, free: 5.504 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.421/1.421, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.255/2.255, allocations: 390.3 MB / 0.6653 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001279, allocations: 70.97 kB / 0.8132 GB, free: 33.02 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2852, allocations: 140.4 MB / 0.9503 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply): time 0.002048/0.2873, allocations: 0.7062 MB / 0.951 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.2884, allocations: 0.804 MB / 0.9518 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.02e-05/0.2884, allocations: 0 / 0.9518 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.063e-05/0.2884, allocations: 7.922 kB / 0.9518 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.681e-05/0.2885, allocations: 7.938 kB / 0.9518 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.946e-05/0.2886, allocations: 11.98 kB / 0.9518 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.143e-05/0.2887, allocations: 47.84 kB / 0.9518 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.2888, allocations: 7.984 kB / 0.9518 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.836e-05/0.2889, allocations: 23.92 kB / 0.9519 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.215e-05/0.2889, allocations: 15.92 kB / 0.9519 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.289, allocations: 4 kB / 0.9519 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.596e-05/0.289, allocations: 4 kB / 0.9519 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.144e-05/0.289, allocations: 11.92 kB / 0.9519 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.24e-05/0.289, allocations: 15.94 kB / 0.9519 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.363e-05/0.2891, allocations: 43.86 kB / 0.952 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2891, allocations: 0 / 0.952 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2891, allocations: 0 / 0.952 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.2892, allocations: 0 / 0.952 GB, free: 7.148 MB / 0.7325 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.000547/0.2897, allocations: 363.6 kB / 0.9523 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2898, allocations: 12.03 kB / 0.9523 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.2898, allocations: 0.9375 kB / 0.9523 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.2899, allocations: 184.1 kB / 0.9525 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.29, allocations: 8.375 kB / 0.9525 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.29, allocations: 4.375 kB / 0.9525 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.2902, allocations: 68.33 kB / 0.9526 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.2902, allocations: 192 / 0.9526 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.2903, allocations: 7.922 kB / 0.9526 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.2903, allocations: 0 / 0.9526 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002784/0.2906, allocations: 63.94 kB / 0.9526 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.2909, allocations: 261 kB / 0.9529 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.2911, allocations: 62.41 kB / 0.9529 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.2913, allocations: 40.92 kB / 0.953 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.2913, allocations: 0 / 0.953 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.2913, allocations: 30.56 kB / 0.953 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.2913, allocations: 0 / 0.953 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005264/0.2919, allocations: 145.4 kB / 0.9532 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.2919, allocations: 51.41 kB / 0.9532 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.401e-05/0.292, allocations: 109.8 kB / 0.9533 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.292, allocations: 25.7 kB / 0.9533 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.211e-05/0.2921, allocations: 84.14 kB / 0.9534 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.2921, allocations: 11.89 kB / 0.9534 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.2921, allocations: 9.719 kB / 0.9534 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.79e-05/0.2922, allocations: 322.8 kB / 0.9537 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.2924, allocations: 31.95 kB / 0.9538 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.2925, allocations: 31.97 kB / 0.9538 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.2928, allocations: 68.78 kB / 0.9539 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2928, allocations: 3.938 kB / 0.9539 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003106/0.2931, allocations: 101.5 kB / 0.954 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.2931, allocations: 4 kB / 0.954 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2931, allocations: 4 kB / 0.954 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.2932, allocations: 0 / 0.954 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.2933, allocations: 15.98 kB / 0.954 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.2933, allocations: 3.984 kB / 0.954 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.604e-05/0.2934, allocations: 15.98 kB / 0.954 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.2934, allocations: 0 / 0.954 GB, free: 4.82 MB / 0.7325 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.217e-05/0.2935, allocations: 119.8 kB / 0.9541 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.2935, allocations: 336 / 0.9541 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.582e-05/0.2935, allocations: 15.84 kB / 0.9541 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2935, allocations: 0 / 0.9541 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.2936, allocations: 7.984 kB / 0.9541 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2936, allocations: 0 / 0.9541 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.2937, allocations: 173.5 kB / 0.9543 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2937, allocations: 0 / 0.9543 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.2939, allocations: 15.98 kB / 0.9543 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2939, allocations: 0 / 0.9543 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.2939, allocations: 4 kB / 0.9543 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2939, allocations: 0 / 0.9543 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2939, allocations: 0 / 0.9543 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000346/0.2942, allocations: 199.3 kB / 0.9545 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.732e-05/0.2943, allocations: 85.05 kB / 0.9546 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.2943, allocations: 0 / 0.9546 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.2944, allocations: 11.98 kB / 0.9546 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.2945, allocations: 7.984 kB / 0.9546 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.2945, allocations: 4 kB / 0.9546 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.206e-05/0.2945, allocations: 87.28 kB / 0.9547 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2945, allocations: 0 / 0.9547 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002098/0.2947, allocations: 4 kB / 0.9547 GB, free: 4.004 MB / 0.7325 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.0001511/0.2949, allocations: 107.2 kB / 0.9548 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003331/0.2952, allocations: 79.86 kB / 0.9549 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2953, allocations: 0 / 0.9549 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.2954, allocations: 31.97 kB / 0.9549 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.2957, allocations: 11.94 kB / 0.9549 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003329/0.296, allocations: 163.2 kB / 0.9551 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.2963, allocations: 0.6844 MB / 0.9558 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.2963, allocations: 7.438 kB / 0.9558 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.2963, allocations: 0 / 0.9558 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of Templates: time 0.001952/0.2983, allocations: 0.7406 MB / 0.9565 GB, free: 2.125 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches