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: "" <> 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.001111/0.001111, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001439/0.001439, allocations: 190.3 kB / 16.13 MB, free: 6.645 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.392/1.392, allocations: 222.9 MB / 239.8 MB, free: 4.574 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.433/2.433, allocations: 390.2 MB / 0.6643 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7177/0.7193, allocations: 140.4 MB / 0.9491 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.004215/0.7235, allocations: 2.037 MB / 0.9511 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0033/0.7269, allocations: 1.178 MB / 0.9522 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005049/0.7274, allocations: 6.094 kB / 0.9522 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007948/0.7282, allocations: 149.7 kB / 0.9524 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006393/0.729, allocations: 147 kB / 0.9525 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008788/0.7299, allocations: 200.9 kB / 0.9527 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005874/0.7305, allocations: 293.2 kB / 0.953 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002064/0.7307, allocations: 51.42 kB / 0.953 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003732/0.7311, allocations: 131 kB / 0.9531 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.7314, allocations: 140.3 kB / 0.9533 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.293e-05/0.7314, allocations: 7.719 kB / 0.9533 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002167/0.7317, allocations: 47.38 kB / 0.9533 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.7318, allocations: 90.19 kB / 0.9534 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.7319, allocations: 114.4 kB / 0.9535 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004965/0.7324, allocations: 356.2 kB / 0.9539 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.7325, allocations: 3.938 kB / 0.9539 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7325, allocations: 1.031 kB / 0.9539 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.7325, allocations: 3.938 kB / 0.9539 GB, free: 5.527 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.001826/0.7343, allocations: 0.6264 MB / 0.9545 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.392e-05/0.7344, allocations: 9.281 kB / 0.9545 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.52e-05/0.7345, allocations: 37.12 kB / 0.9545 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.7346, allocations: 35.84 kB / 0.9546 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006296/0.7353, allocations: 370.3 kB / 0.9549 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.7353, allocations: 8.5 kB / 0.9549 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.7353, allocations: 9.75 kB / 0.9549 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003061/0.7357, allocations: 113.5 kB / 0.955 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.7357, allocations: 5 kB / 0.955 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.7357, allocations: 4 kB / 0.955 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.7357, allocations: 2.344 kB / 0.955 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.7359, allocations: 59.05 kB / 0.9551 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008618/0.7368, allocations: 499.8 kB / 0.9556 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003542/0.7372, allocations: 137.5 kB / 0.9557 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.7373, allocations: 43 kB / 0.9558 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.7373, allocations: 2.562 kB / 0.9558 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002217/0.7375, allocations: 120 kB / 0.9559 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 2.284e-06/0.7376, allocations: 0 / 0.9559 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005726/0.7381, allocations: 225.5 kB / 0.9561 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.7382, allocations: 53 kB / 0.9561 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006125/0.7388, allocations: 0.5074 MB / 0.9566 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.7388, allocations: 31.06 kB / 0.9567 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.576e-05/0.7389, allocations: 170.3 kB / 0.9568 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.739, allocations: 37.05 kB / 0.9569 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.7391, allocations: 65.47 kB / 0.9569 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.744e-05/0.7392, allocations: 349.8 kB / 0.9573 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.7394, allocations: 96.7 kB / 0.9573 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.7396, allocations: 131.5 kB / 0.9575 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.7399, allocations: 188.1 kB / 0.9577 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.7399, allocations: 0 / 0.9577 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005706/0.7405, allocations: 328.9 kB / 0.958 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.7406, allocations: 9.375 kB / 0.958 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.7406, allocations: 1.25 kB / 0.958 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.7406, allocations: 1.25 kB / 0.958 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.7408, allocations: 59.88 kB / 0.958 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.7409, allocations: 2.281 kB / 0.958 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.741, allocations: 21.02 kB / 0.9581 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.7411, allocations: 8.219 kB / 0.9581 GB, free: 2.301 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.0001628/0.7412, allocations: 182.5 kB / 0.9582 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.221e-05/0.7413, allocations: 38.77 kB / 0.9583 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.248e-05/0.7414, allocations: 41.27 kB / 0.9583 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.7414, allocations: 2.031 kB / 0.9583 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.7414, allocations: 8 kB / 0.9583 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.7414, allocations: 0.8438 kB / 0.9583 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.7416, allocations: 296.1 kB / 0.9586 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.7416, allocations: 0 / 0.9586 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.355e-05/0.7417, allocations: 10.88 kB / 0.9586 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.7417, allocations: 4.656 kB / 0.9586 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.7417, allocations: 6.203 kB / 0.9586 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.7418, allocations: 1.188 kB / 0.9586 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.7418, allocations: 0 / 0.9586 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003754/0.7421, allocations: 214.6 kB / 0.9588 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.703e-05/0.7422, allocations: 118.5 kB / 0.9589 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.885e-05/0.7423, allocations: 9.281 kB / 0.959 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.7424, allocations: 7.172 kB / 0.959 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.955e-05/0.7425, allocations: 15.39 kB / 0.959 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.7425, allocations: 8.766 kB / 0.959 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003439/0.7428, allocations: 312.1 kB / 0.9593 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7429, allocations: 0 / 0.9593 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003386/0.7432, allocations: 64.55 kB / 0.9593 GB, free: 1.312 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.001453/0.7447, allocations: 1.068 MB / 0.9604 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004273/0.7451, allocations: 197.5 kB / 0.9606 GB, free: 456 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.7451, allocations: 0 / 0.9606 GB, free: 456 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.7453, allocations: 63.69 kB / 0.9606 GB, free: 428 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000476/0.7458, allocations: 72.25 kB / 0.9607 GB, free: 396 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004385/0.7502, allocations: 3.184 MB / 0.9638 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.7506, allocations: 0.7885 MB / 0.9646 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001913/0.7508, allocations: 55.62 kB / 0.9646 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/0.751, allocations: 110.5 kB / 0.9647 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of SimCode: time 5.11e-07/0.751, allocations: 0 / 0.9647 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02004/0.771, allocations: 6.743 MB / 0.9713 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/0.7712, allocations: 250.2 kB / 0.9716 GB, free: 9.875 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.962/2.733, allocations: 0 / 0.9716 GB, free: 9.875 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