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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00175/0.00175, allocations: 119.9 kB / 16.37 MB, free: 6.016 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.002319/0.002319, allocations: 193 kB / 17.31 MB, free: 5.613 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.433/1.433, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.356/2.356, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001287, allocations: 64.31 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3185, allocations: 140.4 MB / 0.9511 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply): time 0.002029/0.3206, allocations: 0.7074 MB / 0.9518 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008635/0.3214, allocations: 0.8118 MB / 0.9526 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.633e-05/0.3215, allocations: 0 / 0.9526 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.416e-05/0.3215, allocations: 0 / 0.9526 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.823e-05/0.3216, allocations: 7.875 kB / 0.9526 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.074e-05/0.3217, allocations: 15.98 kB / 0.9526 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.302e-05/0.3218, allocations: 47.84 kB / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.3219, allocations: 7.984 kB / 0.9527 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.611e-05/0.322, allocations: 15.98 kB / 0.9527 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.589e-05/0.322, allocations: 27.84 kB / 0.9527 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.322, allocations: 4 kB / 0.9527 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.566e-06/0.3221, allocations: 4 kB / 0.9527 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.773e-05/0.3221, allocations: 4 kB / 0.9528 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.3221, allocations: 19.92 kB / 0.9528 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.271e-05/0.3222, allocations: 51.75 kB / 0.9528 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3222, allocations: 0 / 0.9528 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3222, allocations: 0 / 0.9528 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.3222, allocations: 0 / 0.9528 GB, free: 6.293 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.0005316/0.3228, allocations: 359.3 kB / 0.9532 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.3228, allocations: 8.031 kB / 0.9532 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.136e-05/0.3229, allocations: 4.938 kB / 0.9532 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.323, allocations: 176.2 kB / 0.9533 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.323, allocations: 12.38 kB / 0.9534 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.3231, allocations: 384 / 0.9534 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.3233, allocations: 68.33 kB / 0.9534 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.3233, allocations: 4.188 kB / 0.9534 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.3233, allocations: 3.938 kB / 0.9534 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3233, allocations: 0 / 0.9534 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000265/0.3236, allocations: 75.84 kB / 0.9535 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.324, allocations: 257 kB / 0.9537 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.3241, allocations: 58.48 kB / 0.9538 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.3243, allocations: 40.91 kB / 0.9538 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.3243, allocations: 0 / 0.9538 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.3243, allocations: 34.56 kB / 0.9539 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.118e-05/0.3243, allocations: 0 / 0.9539 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0004738/0.3248, allocations: 141.4 kB / 0.954 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.3249, allocations: 51.41 kB / 0.9541 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.883e-05/0.325, allocations: 105.8 kB / 0.9542 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.325, allocations: 29.7 kB / 0.9542 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.623e-05/0.325, allocations: 84.14 kB / 0.9543 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.325, allocations: 3.906 kB / 0.9543 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.3251, allocations: 21.66 kB / 0.9543 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.3252, allocations: 322.8 kB / 0.9546 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.3253, allocations: 31.97 kB / 0.9546 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.3255, allocations: 31.95 kB / 0.9547 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000227/0.3257, allocations: 72.73 kB / 0.9547 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3257, allocations: 3.938 kB / 0.9547 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002795/0.326, allocations: 101.5 kB / 0.9548 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.326, allocations: 4 kB / 0.9548 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.326, allocations: 320 / 0.9548 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.326, allocations: 0 / 0.9548 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.3262, allocations: 19.98 kB / 0.9549 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.3262, allocations: 4 kB / 0.9549 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.57e-05/0.3262, allocations: 11.98 kB / 0.9549 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.3263, allocations: 3.984 kB / 0.9549 GB, free: 3.965 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.994e-05/0.3263, allocations: 119.7 kB / 0.955 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.381e-05/0.3264, allocations: 4 kB / 0.955 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.432e-05/0.3264, allocations: 7.906 kB / 0.955 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3264, allocations: 0 / 0.955 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3264, allocations: 3.938 kB / 0.955 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3264, allocations: 8 kB / 0.955 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.3266, allocations: 165.5 kB / 0.9552 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3266, allocations: 4 kB / 0.9552 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.877e-05/0.3267, allocations: 19.97 kB / 0.9552 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.3267, allocations: 0 / 0.9552 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.3267, allocations: 0 / 0.9552 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.3267, allocations: 4 kB / 0.9552 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3267, allocations: 0 / 0.9552 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003396/0.3271, allocations: 191.8 kB / 0.9554 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.722e-05/0.3271, allocations: 81.05 kB / 0.9555 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.3271, allocations: 3.984 kB / 0.9555 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.82e-05/0.3272, allocations: 15.98 kB / 0.9555 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.3273, allocations: 4.031 kB / 0.9555 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.3273, allocations: 8 kB / 0.9555 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.348e-05/0.3274, allocations: 87.27 kB / 0.9556 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3274, allocations: 3.938 kB / 0.9556 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002084/0.3276, allocations: 8 kB / 0.9556 GB, free: 3.145 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.0001482/0.3277, allocations: 99.25 kB / 0.9557 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003016/0.328, allocations: 71.86 kB / 0.9557 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.328, allocations: 0 / 0.9557 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.3282, allocations: 39.95 kB / 0.9558 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.3285, allocations: 13.59 kB / 0.9558 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003031/0.3288, allocations: 131.6 kB / 0.9559 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.329, allocations: 0.6922 MB / 0.9566 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.705e-05/0.3291, allocations: 0 / 0.9566 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.91e-05/0.3291, allocations: 11.44 kB / 0.9566 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.3291, allocations: 0 / 0.9566 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of Templates: time 0.002635/0.3318, allocations: 0.6699 MB / 0.9573 GB, free: 1.371 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 -s gbode -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