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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.002029/0.002029, allocations: 192.7 kB / 16.25 MB, free: 6.152 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.376/1.376, allocations: 222.9 MB / 239.9 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.357/2.357, allocations: 390.2 MB / 0.6644 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 63.91 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.674/0.6754, allocations: 140.4 MB / 0.9492 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.002913/0.6784, allocations: 2.042 MB / 0.9512 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001583/0.68, allocations: 1.184 MB / 0.9524 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.6801, allocations: 5.469 kB / 0.9524 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004079/0.6805, allocations: 149.4 kB / 0.9525 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002926/0.6808, allocations: 141.1 kB / 0.9527 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004564/0.6813, allocations: 201.1 kB / 0.9529 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003024/0.6816, allocations: 312.4 kB / 0.9532 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.6818, allocations: 55.28 kB / 0.9532 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.682, allocations: 142.8 kB / 0.9534 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.6821, allocations: 156.1 kB / 0.9535 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.523e-05/0.6822, allocations: 14.09 kB / 0.9535 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.6823, allocations: 64.89 kB / 0.9536 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.66e-05/0.6824, allocations: 89.3 kB / 0.9537 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.687e-05/0.6825, allocations: 122.8 kB / 0.9538 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00034/0.6828, allocations: 364.1 kB / 0.9541 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.6829, allocations: 0 / 0.9541 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.002e-06/0.6829, allocations: 0 / 0.9541 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.6829, allocations: 0 / 0.9541 GB, free: 5.496 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.000832/0.6837, allocations: 0.6221 MB / 0.9547 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.6838, allocations: 14.25 kB / 0.9548 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.489e-05/0.6838, allocations: 37.22 kB / 0.9548 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.609e-05/0.6839, allocations: 35.53 kB / 0.9548 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004178/0.6843, allocations: 374.5 kB / 0.9552 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.6843, allocations: 4.188 kB / 0.9552 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.6844, allocations: 9.219 kB / 0.9552 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.6846, allocations: 114.8 kB / 0.9553 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.6846, allocations: 0 / 0.9553 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.6846, allocations: 4 kB / 0.9553 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.6847, allocations: 6.5 kB / 0.9553 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.6848, allocations: 63.55 kB / 0.9554 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006764/0.6855, allocations: 499.9 kB / 0.9559 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.6858, allocations: 140.4 kB / 0.956 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.686, allocations: 43.72 kB / 0.956 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.686, allocations: 2.094 kB / 0.956 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002226/0.6862, allocations: 120.6 kB / 0.9561 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 2.645e-06/0.6862, allocations: 4 kB / 0.9561 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005411/0.6868, allocations: 226.2 kB / 0.9564 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.6868, allocations: 53.25 kB / 0.9564 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004789/0.6873, allocations: 0.5108 MB / 0.9569 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.6873, allocations: 31.05 kB / 0.9569 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.383e-05/0.6874, allocations: 156.5 kB / 0.9571 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.6875, allocations: 42.5 kB / 0.9571 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.872e-05/0.6876, allocations: 65.12 kB / 0.9572 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.505e-05/0.6876, allocations: 361.2 kB / 0.9575 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.6878, allocations: 96.23 kB / 0.9576 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.688, allocations: 131.6 kB / 0.9578 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003065/0.6884, allocations: 180.7 kB / 0.9579 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.6884, allocations: 4 kB / 0.9579 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005225/0.6889, allocations: 321.1 kB / 0.9582 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.6889, allocations: 9.219 kB / 0.9582 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.6889, allocations: 4.75 kB / 0.9583 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.689, allocations: 1.938 kB / 0.9583 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.6892, allocations: 51.78 kB / 0.9583 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.6892, allocations: 1.375 kB / 0.9583 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.6894, allocations: 22.7 kB / 0.9583 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/0.6894, allocations: 16.25 kB / 0.9583 GB, free: 2.258 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.0001391/0.6895, allocations: 173.8 kB / 0.9585 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.845e-05/0.6896, allocations: 39.02 kB / 0.9585 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.621e-05/0.6897, allocations: 37.59 kB / 0.9586 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.6897, allocations: 1 kB / 0.9586 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.6897, allocations: 1.062 kB / 0.9586 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.6897, allocations: 3.938 kB / 0.9586 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.6899, allocations: 296.4 kB / 0.9589 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.6899, allocations: 0 / 0.9589 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.651e-05/0.69, allocations: 15.28 kB / 0.9589 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.69, allocations: 3.938 kB / 0.9589 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.69, allocations: 10.27 kB / 0.9589 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.69, allocations: 5.156 kB / 0.9589 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.69, allocations: 0 / 0.9589 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003487/0.6904, allocations: 211.8 kB / 0.9591 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.546e-05/0.6905, allocations: 110.3 kB / 0.9592 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.684e-05/0.6905, allocations: 13.56 kB / 0.9592 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.998e-05/0.6906, allocations: 7.141 kB / 0.9592 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.129e-05/0.6907, allocations: 18.64 kB / 0.9592 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.6907, allocations: 14.17 kB / 0.9593 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003052/0.6911, allocations: 315.3 kB / 0.9596 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6911, allocations: 3.938 kB / 0.9596 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003079/0.6914, allocations: 55.83 kB / 0.9596 GB, free: 1.273 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.001348/0.6927, allocations: 1.061 MB / 0.9607 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000409/0.6931, allocations: 203.4 kB / 0.9608 GB, free: 420 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.6932, allocations: 0 / 0.9608 GB, free: 420 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.6933, allocations: 63.53 kB / 0.9609 GB, free: 392 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004713/0.6938, allocations: 89.56 kB / 0.961 GB, free: 348 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005008/0.6988, allocations: 3.192 MB / 0.9641 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005099/0.6993, allocations: 0.7886 MB / 0.9649 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002048/0.6996, allocations: 46.95 kB / 0.9649 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/0.6998, allocations: 111.7 kB / 0.965 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of SimCode: time 6.31e-07/0.6998, allocations: 1 kB / 0.965 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02079/0.7206, allocations: 6.9 MB / 0.9718 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/0.7208, allocations: 251.2 kB / 0.972 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.072/2.793, allocations: 0 / 0.972 GB, free: 9.738 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.fmu > 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