Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Integers.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product.u1|product.u2|product.y",fileNamePrefix="Buildings_9_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_9_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.001548/0.001548, allocations: 112.9 kB / 16.37 MB, free: 6.012 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.001724/0.001724, allocations: 193.8 kB / 17.3 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.434/1.434, allocations: 222.9 MB / 241 MB, free: 15.17 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.371/2.371, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001379, allocations: 62.5 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2971, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003443/0.3006, allocations: 2.008 MB / 0.9531 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001939/0.3026, allocations: 1.193 MB / 0.9543 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.3027, allocations: 3.938 kB / 0.9543 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004314/0.3031, allocations: 167.4 kB / 0.9544 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004507/0.3037, allocations: 155.4 kB / 0.9546 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007198/0.3044, allocations: 226.5 kB / 0.9548 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004143/0.3048, allocations: 311.2 kB / 0.9551 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.305, allocations: 52.22 kB / 0.9551 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001909/0.3052, allocations: 139.5 kB / 0.9553 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.3054, allocations: 151.4 kB / 0.9554 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.361e-05/0.3055, allocations: 16 kB / 0.9554 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.3056, allocations: 55.91 kB / 0.9555 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.3057, allocations: 83.73 kB / 0.9556 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.3058, allocations: 127.1 kB / 0.9557 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004161/0.3063, allocations: 366.7 kB / 0.956 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3063, allocations: 0 / 0.956 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3063, allocations: 0 / 0.956 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.936e-06/0.3063, allocations: 4 kB / 0.956 GB, free: 2.988 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009624/0.3073, allocations: 0.6147 MB / 0.9566 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.3073, allocations: 12.03 kB / 0.9566 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.444e-05/0.3074, allocations: 36.47 kB / 0.9567 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005346/0.3079, allocations: 378.2 kB / 0.957 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.308, allocations: 7.984 kB / 0.957 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.308, allocations: 11.98 kB / 0.9571 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.3082, allocations: 105.5 kB / 0.9572 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.3083, allocations: 0 / 0.9572 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.3083, allocations: 4 kB / 0.9572 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.3083, allocations: 8 kB / 0.9572 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.3085, allocations: 63.89 kB / 0.9572 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007808/0.3093, allocations: 492.4 kB / 0.9577 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003442/0.3096, allocations: 142.7 kB / 0.9578 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.3097, allocations: 52.77 kB / 0.9579 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.3098, allocations: 0 / 0.9579 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002368/0.31, allocations: 119.2 kB / 0.958 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.31, allocations: 0 / 0.958 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0005318/0.3106, allocations: 229 kB / 0.9582 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.3106, allocations: 55.41 kB / 0.9583 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005544/0.3112, allocations: 0.5054 MB / 0.9588 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.3112, allocations: 33.7 kB / 0.9588 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.3113, allocations: 156.4 kB / 0.9589 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.027e-05/0.3114, allocations: 43.53 kB / 0.959 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.3115, allocations: 65.95 kB / 0.9591 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3116, allocations: 346.8 kB / 0.9594 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.3118, allocations: 108.5 kB / 0.9595 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.3121, allocations: 131.6 kB / 0.9596 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.3124, allocations: 180 kB / 0.9598 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3124, allocations: 4 kB / 0.9598 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000527/0.3129, allocations: 321.1 kB / 0.9601 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.313, allocations: 10.34 kB / 0.9601 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.313, allocations: 3.938 kB / 0.9601 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.313, allocations: 3.984 kB / 0.9601 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/0.3133, allocations: 51.92 kB / 0.9602 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.3133, allocations: 7.984 kB / 0.9602 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.3134, allocations: 15.84 kB / 0.9602 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.212e-05/0.3135, allocations: 8 kB / 0.9602 GB, free: 14.49 MB / 0.7481 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.0001769/0.3137, allocations: 191.7 kB / 0.9604 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/0.3137, allocations: 31.62 kB / 0.9604 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.334e-05/0.3138, allocations: 43.06 kB / 0.9604 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3138, allocations: 0 / 0.9604 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3138, allocations: 0 / 0.9604 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.3138, allocations: 0 / 0.9604 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.3141, allocations: 301.3 kB / 0.9607 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3141, allocations: 0 / 0.9607 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.218e-05/0.3142, allocations: 15.98 kB / 0.9607 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3142, allocations: 0 / 0.9607 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.3142, allocations: 11.94 kB / 0.9608 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3142, allocations: 4 kB / 0.9608 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3142, allocations: 3.938 kB / 0.9608 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003578/0.3146, allocations: 204.7 kB / 0.961 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.987e-05/0.3147, allocations: 104.7 kB / 0.9611 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.622e-05/0.3147, allocations: 15.92 kB / 0.9611 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.267e-05/0.3148, allocations: 4 kB / 0.9611 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.109e-05/0.3149, allocations: 27.95 kB / 0.9611 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.3149, allocations: 12 kB / 0.9611 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003303/0.3153, allocations: 315.1 kB / 0.9614 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3153, allocations: 3.938 kB / 0.9614 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002875/0.3156, allocations: 56 kB / 0.9615 GB, free: 13.07 MB / 0.7481 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.0009923/0.3166, allocations: 409.9 kB / 0.9619 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004222/0.317, allocations: 191.8 kB / 0.9621 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.317, allocations: 0 / 0.9621 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.3172, allocations: 63.91 kB / 0.9621 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004755/0.3177, allocations: 109.2 kB / 0.9622 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008819/0.3186, allocations: 0.524 MB / 0.9627 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004226/0.319, allocations: 0.7947 MB / 0.9635 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001425/0.3191, allocations: 50.95 kB / 0.9636 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.417e-05/0.3192, allocations: 35.42 kB / 0.9636 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.3192, allocations: 0 / 0.9636 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of Templates: time 0.00865/0.3279, allocations: 4.065 MB / 0.9676 GB, free: 7 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches