Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product1.u1|product1.u2|product1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product1.u1|product1.u2|product1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009137/0.0009137, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001062/0.001062, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 223.2 MB / 240 MB, free: 5.43 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.584/2.584, allocations: 390.9 MB / 0.666 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.0003261, allocations: 8 kB / 0.8154 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9465/0.9469, allocations: 142.4 MB / 0.9545 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply): time 0.0009561/0.9479, allocations: 426.3 kB / 0.9549 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008329/0.9487, allocations: 0.7952 MB / 0.9556 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.593e-05/0.9488, allocations: 0.8438 kB / 0.9556 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.662e-05/0.9488, allocations: 4.938 kB / 0.9556 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.296e-05/0.9489, allocations: 4.938 kB / 0.9556 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.855e-05/0.9489, allocations: 8.891 kB / 0.9557 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.454e-05/0.949, allocations: 45.84 kB / 0.9557 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.9492, allocations: 8.75 kB / 0.9557 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.466e-05/0.9492, allocations: 17.95 kB / 0.9557 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.104e-05/0.9493, allocations: 20.75 kB / 0.9557 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.9493, allocations: 2 kB / 0.9557 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.929e-06/0.9493, allocations: 6 kB / 0.9558 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.45e-05/0.9494, allocations: 7.984 kB / 0.9558 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.015e-05/0.9494, allocations: 27.86 kB / 0.9558 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.025e-05/0.9495, allocations: 30.31 kB / 0.9558 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.9495, allocations: 0 / 0.9558 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9495, allocations: 0 / 0.9558 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.9495, allocations: 0.9062 kB / 0.9558 GB, free: 6.617 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00048/0.95, allocations: 368.8 kB / 0.9562 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.95, allocations: 9.156 kB / 0.9562 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.9501, allocations: 13.95 kB / 0.9562 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.129e-05/0.9502, allocations: 165.5 kB / 0.9563 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.9502, allocations: 5.281 kB / 0.9564 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.9502, allocations: 1.125 kB / 0.9564 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.9505, allocations: 81.16 kB / 0.9564 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.9505, allocations: 0 / 0.9564 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.9505, allocations: 0 / 0.9564 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.9505, allocations: 1.312 kB / 0.9564 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002884/0.9508, allocations: 94.59 kB / 0.9565 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003477/0.9512, allocations: 270.7 kB / 0.9568 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.9514, allocations: 58.45 kB / 0.9568 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.9515, allocations: 57.03 kB / 0.9569 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.9516, allocations: 0.9062 kB / 0.9569 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.9516, allocations: 31.56 kB / 0.9569 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.9516, allocations: 0 / 0.9569 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005358/0.9521, allocations: 174.7 kB / 0.9571 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.9522, allocations: 52.81 kB / 0.9571 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.17e-05/0.9523, allocations: 107.2 kB / 0.9572 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.367e-06/0.9523, allocations: 25.7 kB / 0.9573 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.849e-05/0.9523, allocations: 85.42 kB / 0.9573 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.9523, allocations: 17.89 kB / 0.9574 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-06/0.9524, allocations: 4 kB / 0.9574 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.636e-05/0.9524, allocations: 320 kB / 0.9577 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.9526, allocations: 39.22 kB / 0.9577 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.9527, allocations: 43.06 kB / 0.9578 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.9528, allocations: 43.08 kB / 0.9578 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.9528, allocations: 0 / 0.9578 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002839/0.9531, allocations: 124.7 kB / 0.9579 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.9532, allocations: 8.875 kB / 0.9579 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.9532, allocations: 0 / 0.9579 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.9532, allocations: 5.797 kB / 0.9579 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.9533, allocations: 17.55 kB / 0.9579 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.9533, allocations: 1.938 kB / 0.9579 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.189e-05/0.9534, allocations: 23.62 kB / 0.958 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-06/0.9534, allocations: 0 / 0.958 GB, free: 4.672 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.259e-05/0.9535, allocations: 113.1 kB / 0.9581 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/0.9535, allocations: 9.812 kB / 0.9581 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.445e-05/0.9536, allocations: 5.219 kB / 0.9581 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.9536, allocations: 1.625 kB / 0.9581 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.9536, allocations: 3.953 kB / 0.9581 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.9536, allocations: 0 / 0.9581 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.9537, allocations: 169.5 kB / 0.9583 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.9537, allocations: 4 kB / 0.9583 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.289e-05/0.9538, allocations: 23.92 kB / 0.9583 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.9538, allocations: 0 / 0.9583 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.9539, allocations: 0 / 0.9583 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.9539, allocations: 1.469 kB / 0.9583 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.9539, allocations: 0 / 0.9583 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003127/0.9542, allocations: 223.9 kB / 0.9585 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.505e-05/0.9542, allocations: 82.48 kB / 0.9586 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.9542, allocations: 0 / 0.9586 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.9543, allocations: 20.02 kB / 0.9586 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.9544, allocations: 9.703 kB / 0.9586 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.9544, allocations: 1.312 kB / 0.9586 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.981e-05/0.9544, allocations: 84.45 kB / 0.9587 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9544, allocations: 0 / 0.9587 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002121/0.9547, allocations: 14.91 kB / 0.9587 GB, free: 3.941 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001247/0.9548, allocations: 105.5 kB / 0.9588 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003215/0.9551, allocations: 94.3 kB / 0.9589 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.9551, allocations: 0 / 0.9589 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.9553, allocations: 45.5 kB / 0.9589 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.9556, allocations: 6.938 kB / 0.9589 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002997/0.9559, allocations: 134.6 kB / 0.9591 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.9561, allocations: 0.6804 MB / 0.9597 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.277e-05/0.9561, allocations: 5.375 kB / 0.9597 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.955e-05/0.9561, allocations: 8.812 kB / 0.9597 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.9561, allocations: 3.938 kB / 0.9598 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of Templates: time 0.002854/0.959, allocations: 0.5303 MB / 0.9603 GB, free: 2.664 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches