Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Integers.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product.u1|product.u2|product.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product.u1|product.u2|product.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 103 kB / 16.27 MB, free: 6.414 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.001545/0.001544, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.412/1.412, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.562/2.562, allocations: 437.1 MB / 0.7111 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 67.48 kB / 0.8699 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3072, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003536/0.3108, allocations: 2.003 MB / 1.02 GB, free: 8.602 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002036/0.3129, allocations: 1.209 MB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.313, allocations: 3.938 kB / 1.021 GB, free: 7.383 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0004236/0.3134, allocations: 155.4 kB / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003395/0.3138, allocations: 159.4 kB / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005194/0.3143, allocations: 228.4 kB / 1.022 GB, free: 6.855 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003643/0.3147, allocations: 311.2 kB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.3149, allocations: 40.39 kB / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.3151, allocations: 147.4 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001984/0.3153, allocations: 147.4 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.157e-05/0.3153, allocations: 16 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.3155, allocations: 51.92 kB / 1.022 GB, free: 6.152 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.3156, allocations: 91.72 kB / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.3158, allocations: 127.1 kB / 1.023 GB, free: 5.938 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004151/0.3162, allocations: 363 kB / 1.023 GB, free: 5.582 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.3162, allocations: 0 / 1.023 GB, free: 5.582 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3162, allocations: 7.938 kB / 1.023 GB, free: 5.574 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3162, allocations: 0 / 1.023 GB, free: 5.574 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001032/0.3172, allocations: 0.6069 MB / 1.023 GB, free: 4.918 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.3173, allocations: 12.92 kB / 1.024 GB, free: 4.906 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.312e-05/0.3174, allocations: 36.47 kB / 1.024 GB, free: 4.871 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005279/0.3179, allocations: 386 kB / 1.024 GB, free: 4.453 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.3179, allocations: 8 kB / 1.024 GB, free: 4.445 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.318, allocations: 4 kB / 1.024 GB, free: 4.441 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.3182, allocations: 105.6 kB / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.3183, allocations: 4 kB / 1.024 GB, free: 4.328 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.3183, allocations: 3.984 kB / 1.024 GB, free: 4.324 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.3183, allocations: 4 kB / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.3185, allocations: 55.97 kB / 1.024 GB, free: 4.266 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008125/0.3193, allocations: 492.4 kB / 1.025 GB, free: 3.734 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003662/0.3197, allocations: 142.7 kB / 1.025 GB, free: 3.586 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.3198, allocations: 52.83 kB / 1.025 GB, free: 3.531 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.3199, allocations: 7.922 kB / 1.025 GB, free: 3.523 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000253/0.3201, allocations: 115.4 kB / 1.025 GB, free: 3.398 MB / 0.795 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.3201, allocations: 0 / 1.025 GB, free: 3.398 MB / 0.795 GB Notification: Performance of matching and sorting (n=13): time 0.0005904/0.3207, allocations: 225.1 kB / 1.025 GB, free: 3.172 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.3208, allocations: 59.39 kB / 1.025 GB, free: 3.102 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006191/0.3214, allocations: 0.5015 MB / 1.026 GB, free: 2.594 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.3214, allocations: 33.7 kB / 1.026 GB, free: 2.555 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.3216, allocations: 168.4 kB / 1.026 GB, free: 2.387 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.168e-05/0.3217, allocations: 39.55 kB / 1.026 GB, free: 2.348 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.3218, allocations: 73.88 kB / 1.026 GB, free: 2.27 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.322, allocations: 342.8 kB / 1.026 GB, free: 1.926 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.3222, allocations: 100.5 kB / 1.026 GB, free: 1.828 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.3224, allocations: 132.1 kB / 1.026 GB, free: 1.691 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003578/0.3228, allocations: 192 kB / 1.027 GB, free: 1.496 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3228, allocations: 0 / 1.027 GB, free: 1.496 MB / 0.795 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005746/0.3234, allocations: 317.2 kB / 1.027 GB, free: 1.18 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3234, allocations: 8 kB / 1.027 GB, free: 1.172 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.3234, allocations: 3.938 kB / 1.027 GB, free: 1.168 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3234, allocations: 0 / 1.027 GB, free: 1.168 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.3237, allocations: 51.91 kB / 1.027 GB, free: 1.117 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.3237, allocations: 8.062 kB / 1.027 GB, free: 1.109 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.3238, allocations: 15.84 kB / 1.027 GB, free: 1.094 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/0.3239, allocations: 15.98 kB / 1.027 GB, free: 1.078 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt2.y,reaToInt1.y,product.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001954/0.3241, allocations: 181.7 kB / 1.027 GB, free: 0.8906 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-05/0.3241, allocations: 31.62 kB / 1.027 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.072e-05/0.3242, allocations: 39.06 kB / 1.027 GB, free: 0.8203 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3242, allocations: 0 / 1.027 GB, free: 0.8203 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3242, allocations: 0 / 1.027 GB, free: 0.8203 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.3242, allocations: 3.984 kB / 1.027 GB, free: 0.8164 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003008/0.3245, allocations: 309.3 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3245, allocations: 0 / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.113e-05/0.3246, allocations: 15.98 kB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3246, allocations: 0 / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.3247, allocations: 3.938 kB / 1.028 GB, free: 456 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3247, allocations: 4 kB / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.3247, allocations: 7.969 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003934/0.3251, allocations: 208.6 kB / 1.028 GB, free: 216 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 9.545e-05/0.3252, allocations: 116.7 kB / 1.028 GB, free: 80 kB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.353e-05/0.3252, allocations: 7.938 kB / 1.028 GB, free: 72 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.631e-05/0.3253, allocations: 8 kB / 1.028 GB, free: 64 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/0.3254, allocations: 23.97 kB / 1.028 GB, free: 40 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.3254, allocations: 4 kB / 1.028 GB, free: 36 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003768/0.3258, allocations: 319.1 kB / 1.028 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3258, allocations: 0 / 1.028 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002882/0.3261, allocations: 55.91 kB / 1.028 GB, free: 15.68 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: 9 ($whenCondition2,$whenCondition1,product.y,reaToInt1.y,reaToInt2.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001502/0.3276, allocations: 424.2 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000446/0.3281, allocations: 199.8 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3281, allocations: 0 / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.3282, allocations: 55.92 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004886/0.3287, allocations: 107 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009136/0.3297, allocations: 0.5646 MB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005477/0.3302, allocations: 0.7831 MB / 1.03 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.537e-05/0.3303, allocations: 31.42 kB / 1.03 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of SimCode: time 4.11e-07/0.3303, allocations: 7.938 kB / 1.03 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of Templates: time 0.007317/0.3376, allocations: 4.381 MB / 1.035 GB, free: 9.266 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches