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.001509/0.001509, allocations: 100.1 kB / 15.88 MB, free: 8 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 195.7 kB / 16.79 MB, free: 6.828 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.43/1.43, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.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.451/2.451, allocations: 390.2 MB / 0.6649 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 63.89 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6213/0.6227, allocations: 140.4 MB / 0.9496 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003025/0.6257, allocations: 2.044 MB / 0.9516 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001715/0.6275, allocations: 1.182 MB / 0.9527 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.6276, allocations: 6.594 kB / 0.9527 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004041/0.6281, allocations: 149.6 kB / 0.9529 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000262/0.6284, allocations: 143.5 kB / 0.953 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000481/0.6289, allocations: 197.4 kB / 0.9532 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000286/0.6291, allocations: 292.8 kB / 0.9535 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.6293, allocations: 51.3 kB / 0.9535 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.6295, allocations: 128.3 kB / 0.9537 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.6296, allocations: 143.8 kB / 0.9538 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.6297, allocations: 6.438 kB / 0.9538 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.6298, allocations: 56.58 kB / 0.9539 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.012e-05/0.6299, allocations: 81.73 kB / 0.9539 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.586e-05/0.63, allocations: 114.4 kB / 0.9541 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002582/0.6303, allocations: 290.2 kB / 0.9543 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.6303, allocations: 4 kB / 0.9543 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.103e-06/0.6303, allocations: 0 / 0.9543 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.6303, allocations: 0 / 0.9543 GB, free: 5.535 MB / 0.7169 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.0008698/0.6312, allocations: 0.623 MB / 0.9549 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.6312, allocations: 9.531 kB / 0.955 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.915e-05/0.6313, allocations: 35.22 kB / 0.955 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004116/0.6317, allocations: 371.4 kB / 0.9553 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.6318, allocations: 4.469 kB / 0.9553 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.6318, allocations: 12.75 kB / 0.9554 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.632, allocations: 111.9 kB / 0.9555 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.6321, allocations: 1.25 kB / 0.9555 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.6321, allocations: 4 kB / 0.9555 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.6321, allocations: 2.5 kB / 0.9555 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.6323, allocations: 61.77 kB / 0.9555 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007666/0.6331, allocations: 494.8 kB / 0.956 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003388/0.6334, allocations: 140.4 kB / 0.9561 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.6335, allocations: 45.16 kB / 0.9562 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.6336, allocations: 13.25 kB / 0.9562 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002217/0.6338, allocations: 119.5 kB / 0.9563 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.733e-06/0.6338, allocations: 0 / 0.9563 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0004981/0.6343, allocations: 225.8 kB / 0.9565 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.6343, allocations: 53.78 kB / 0.9566 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005736/0.6349, allocations: 0.5107 MB / 0.9571 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.6349, allocations: 35.23 kB / 0.9571 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.043e-05/0.635, allocations: 156.8 kB / 0.9573 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.6351, allocations: 39.39 kB / 0.9573 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.068e-05/0.6352, allocations: 64.41 kB / 0.9574 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.124e-05/0.6353, allocations: 349.8 kB / 0.9577 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.6355, allocations: 97.05 kB / 0.9578 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.6357, allocations: 135 kB / 0.9579 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.636, allocations: 192.1 kB / 0.9581 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.636, allocations: 1.062 kB / 0.9581 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005/0.6365, allocations: 323.6 kB / 0.9584 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.6365, allocations: 5.5 kB / 0.9584 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.6365, allocations: 5.312 kB / 0.9584 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.6365, allocations: 5.438 kB / 0.9584 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.6368, allocations: 55.47 kB / 0.9585 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.6368, allocations: 2.438 kB / 0.9585 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.6369, allocations: 25.02 kB / 0.9585 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.637, allocations: 8.125 kB / 0.9585 GB, free: 2.348 MB / 0.7169 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.0001568/0.6371, allocations: 183.9 kB / 0.9587 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.677e-05/0.6372, allocations: 30.34 kB / 0.9587 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.645e-05/0.6373, allocations: 40.91 kB / 0.9587 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.6373, allocations: 5.25 kB / 0.9587 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6373, allocations: 1.094 kB / 0.9587 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.6373, allocations: 0 / 0.9587 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.6375, allocations: 296 kB / 0.959 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.6375, allocations: 1.031 kB / 0.959 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.486e-05/0.6376, allocations: 18.2 kB / 0.9591 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.6376, allocations: 0.9062 kB / 0.9591 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.6376, allocations: 10.22 kB / 0.9591 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.6376, allocations: 1.156 kB / 0.9591 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6376, allocations: 0 / 0.9591 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003466/0.638, allocations: 212.8 kB / 0.9593 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-05/0.6381, allocations: 111.2 kB / 0.9594 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.316e-05/0.6381, allocations: 9.281 kB / 0.9594 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.41e-05/0.6382, allocations: 7.453 kB / 0.9594 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.155e-05/0.6383, allocations: 23.69 kB / 0.9594 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.6383, allocations: 5.031 kB / 0.9594 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003115/0.6386, allocations: 319 kB / 0.9597 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.92e-07/0.6386, allocations: 5.062 kB / 0.9597 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000299/0.6389, allocations: 52.03 kB / 0.9598 GB, free: 1.367 MB / 0.7169 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.0009662/0.6399, allocations: 418.9 kB / 0.9602 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004152/0.6403, allocations: 193.1 kB / 0.9604 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6403, allocations: 0 / 0.9604 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.6405, allocations: 66.59 kB / 0.9604 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/0.6409, allocations: 82.5 kB / 0.9605 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009474/0.6419, allocations: 0.6328 MB / 0.9611 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.6422, allocations: 0.786 MB / 0.9619 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.159e-05/0.6423, allocations: 38.98 kB / 0.9619 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.6423, allocations: 0 / 0.9619 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.007955/0.6503, allocations: 4.377 MB / 0.9662 GB, free: 13.55 MB / 0.7325 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 -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