Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 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.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product1.u1|product1.u2|product1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product1.u1|product1.u2|product1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009763/0.0009764, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001279/0.001279, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.931/2.931, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005499/0.0005501, allocations: 10.56 kB / 0.9022 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3912, allocations: 159.6 MB / 1.058 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Multiply): time 0.0008992/0.3921, allocations: 428.6 kB / 1.058 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008563/0.393, allocations: 0.7963 MB / 1.059 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.347e-05/0.393, allocations: 4 kB / 1.059 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.3e-05/0.393, allocations: 0 / 1.059 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.666e-05/0.3931, allocations: 11.92 kB / 1.059 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.675e-05/0.3932, allocations: 7.984 kB / 1.059 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.684e-05/0.3933, allocations: 43.8 kB / 1.059 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.791e-05/0.3934, allocations: 7.984 kB / 1.059 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.436e-05/0.3935, allocations: 11.94 kB / 1.059 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.841e-05/0.3935, allocations: 19.91 kB / 1.059 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.3935, allocations: 8 kB / 1.059 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.083e-06/0.3935, allocations: 0 / 1.059 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.3936, allocations: 8 kB / 1.059 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.557e-05/0.3936, allocations: 25.7 kB / 1.059 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.689e-05/0.3937, allocations: 23.94 kB / 1.059 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3937, allocations: 4 kB / 1.059 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.685e-06/0.3937, allocations: 0 / 1.059 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.3937, allocations: 0 / 1.059 GB, free: 3.891 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.0005012/0.3942, allocations: 379.4 kB / 1.06 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.3942, allocations: 8.031 kB / 1.06 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/0.3943, allocations: 7.922 kB / 1.06 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.3944, allocations: 174.9 kB / 1.06 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.3944, allocations: 0 / 1.06 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.3944, allocations: 7.953 kB / 1.06 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/0.3947, allocations: 77.66 kB / 1.06 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.3947, allocations: 4 kB / 1.06 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.3947, allocations: 3.984 kB / 1.06 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.3947, allocations: 0 / 1.06 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002799/0.395, allocations: 79.94 kB / 1.06 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.3954, allocations: 280.8 kB / 1.06 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.3956, allocations: 62.53 kB / 1.06 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.3958, allocations: 52.92 kB / 1.06 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.3958, allocations: 0 / 1.06 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.3958, allocations: 30.56 kB / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.3958, allocations: 4 kB / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005355/0.3964, allocations: 165.5 kB / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.3964, allocations: 51.41 kB / 1.061 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.513e-05/0.3965, allocations: 109.8 kB / 1.061 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.3965, allocations: 25.7 kB / 1.061 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.417e-05/0.3966, allocations: 92.05 kB / 1.061 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.3966, allocations: 11.89 kB / 1.061 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-06/0.3966, allocations: 0 / 1.061 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.3967, allocations: 326.7 kB / 1.061 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.3969, allocations: 35.97 kB / 1.061 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.397, allocations: 47.95 kB / 1.061 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.3972, allocations: 39.97 kB / 1.061 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3972, allocations: 4 kB / 1.061 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002968/0.3975, allocations: 121.6 kB / 1.061 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.3975, allocations: 7.984 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.3975, allocations: 0 / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.3975, allocations: 0 / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.3977, allocations: 23.98 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.3977, allocations: 0 / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.396e-05/0.3978, allocations: 19.98 kB / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.433e-06/0.3978, allocations: 0 / 1.062 GB, free: 1.465 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.951e-05/0.3979, allocations: 117.8 kB / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.3979, allocations: 3.906 kB / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.117e-05/0.3979, allocations: 15.89 kB / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.3979, allocations: 0 / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3979, allocations: 0 / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.398, allocations: 336 / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.3981, allocations: 169.6 kB / 1.062 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3981, allocations: 3.938 kB / 1.062 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.199e-05/0.3982, allocations: 19.98 kB / 1.062 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.3982, allocations: 3.984 kB / 1.062 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.3983, allocations: 7.984 kB / 1.062 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3983, allocations: 0 / 1.062 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3983, allocations: 0 / 1.062 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003427/0.3986, allocations: 215.4 kB / 1.062 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.001e-05/0.3987, allocations: 92.91 kB / 1.062 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.3987, allocations: 0 / 1.062 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.3988, allocations: 19.97 kB / 1.062 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.3989, allocations: 4 kB / 1.062 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-06/0.3989, allocations: 0 / 1.062 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.354e-05/0.3989, allocations: 91.27 kB / 1.062 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3989, allocations: 4 kB / 1.062 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002145/0.3991, allocations: 8 kB / 1.062 GB, free: 0.6055 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001643/0.3993, allocations: 95.25 kB / 1.062 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003205/0.3996, allocations: 99.8 kB / 1.062 GB, free: 416 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3996, allocations: 0 / 1.062 GB, free: 416 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.3998, allocations: 47.95 kB / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.4001, allocations: 10.34 kB / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003215/0.4004, allocations: 128.6 kB / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.4007, allocations: 0.6809 MB / 1.063 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.2e-05/0.4007, allocations: 4 kB / 1.063 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.4008, allocations: 7.438 kB / 1.063 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.4008, allocations: 0 / 1.063 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of Templates: time 0.002675/0.4035, allocations: 0.5249 MB / 1.064 GB, free: 14.96 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Multiply.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches