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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.0006908/0.0006908, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004384/0.004384, allocations: 169.9 kB / 16.26 MB, free: 6.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.232/1.232, allocations: 223.3 MB / 240.3 MB, free: 5.363 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.096/2.096, allocations: 390.9 MB / 0.6664 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004107/0.0004107, allocations: 12 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6643/0.6647, allocations: 142.4 MB / 0.9552 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply): time 0.001047/0.6658, allocations: 436 kB / 0.9556 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.6669, allocations: 0.8044 MB / 0.9564 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.159e-05/0.667, allocations: 1.031 kB / 0.9564 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.776e-05/0.667, allocations: 0 / 0.9564 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.063e-05/0.6671, allocations: 8.797 kB / 0.9564 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.594e-05/0.6672, allocations: 5.094 kB / 0.9564 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.403e-05/0.6673, allocations: 45.62 kB / 0.9565 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.51e-05/0.6674, allocations: 8.812 kB / 0.9565 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.813e-05/0.6674, allocations: 21.52 kB / 0.9565 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.055e-05/0.6675, allocations: 16.98 kB / 0.9565 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.6675, allocations: 1.219 kB / 0.9565 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.874e-06/0.6675, allocations: 2.281 kB / 0.9565 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.445e-05/0.6675, allocations: 9.078 kB / 0.9565 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.6676, allocations: 40.72 kB / 0.9566 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.289e-05/0.6676, allocations: 38.8 kB / 0.9566 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.6676, allocations: 0 / 0.9566 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.213e-06/0.6676, allocations: 0 / 0.9566 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.6676, allocations: 0.9688 kB / 0.9566 GB, free: 6.512 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.0003843/0.668, allocations: 366.3 kB / 0.9569 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.6681, allocations: 13.31 kB / 0.957 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.799e-05/0.6681, allocations: 36.34 kB / 0.957 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.411e-05/0.6681, allocations: 10.17 kB / 0.957 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.734e-05/0.6682, allocations: 166.9 kB / 0.9572 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.6682, allocations: 1.688 kB / 0.9572 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.6683, allocations: 1.812 kB / 0.9572 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.6685, allocations: 85.78 kB / 0.9572 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.6685, allocations: 7.875 kB / 0.9572 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.6685, allocations: 0 / 0.9572 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.6685, allocations: 1.156 kB / 0.9572 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002941/0.6688, allocations: 86.89 kB / 0.9573 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002654/0.6691, allocations: 267.8 kB / 0.9576 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.6693, allocations: 73.41 kB / 0.9577 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.6695, allocations: 49.64 kB / 0.9577 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.6695, allocations: 3.984 kB / 0.9577 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.6695, allocations: 31.59 kB / 0.9577 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.6695, allocations: 0 / 0.9577 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005371/0.6701, allocations: 162.8 kB / 0.9579 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.6701, allocations: 52.94 kB / 0.9579 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.38e-05/0.6702, allocations: 110.8 kB / 0.9581 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.6702, allocations: 27.2 kB / 0.9581 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.631e-05/0.6702, allocations: 89.52 kB / 0.9582 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.6703, allocations: 13.2 kB / 0.9582 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.107e-05/0.6703, allocations: 14.88 kB / 0.9582 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.425e-05/0.6703, allocations: 319.9 kB / 0.9585 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.6705, allocations: 43 kB / 0.9585 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.6707, allocations: 46.8 kB / 0.9586 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.6709, allocations: 90.73 kB / 0.9587 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.671, allocations: 0 / 0.9587 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000313/0.6713, allocations: 121.4 kB / 0.9588 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.6713, allocations: 4.969 kB / 0.9588 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.6713, allocations: 0 / 0.9588 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.6713, allocations: 1.375 kB / 0.9588 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.6714, allocations: 23.05 kB / 0.9588 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.6715, allocations: 4 kB / 0.9588 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.868e-05/0.6715, allocations: 20.27 kB / 0.9588 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.6715, allocations: 8 kB / 0.9588 GB, free: 4.477 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.935e-05/0.6716, allocations: 116.5 kB / 0.959 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.6716, allocations: 1.375 kB / 0.959 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.011e-05/0.6717, allocations: 9.281 kB / 0.959 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.6717, allocations: 1.375 kB / 0.959 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.6717, allocations: 4 kB / 0.959 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.6717, allocations: 0 / 0.959 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.6718, allocations: 173.8 kB / 0.9591 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.6718, allocations: 0 / 0.9591 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.611e-05/0.6719, allocations: 23.09 kB / 0.9592 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.6719, allocations: 1.375 kB / 0.9592 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.6719, allocations: 0 / 0.9592 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.6719, allocations: 0 / 0.9592 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.6719, allocations: 5.375 kB / 0.9592 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003334/0.6723, allocations: 219 kB / 0.9594 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.643e-05/0.6723, allocations: 82.34 kB / 0.9594 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.6723, allocations: 5.312 kB / 0.9595 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.6724, allocations: 15.17 kB / 0.9595 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-05/0.6725, allocations: 2.312 kB / 0.9595 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.6725, allocations: 4 kB / 0.9595 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.632e-05/0.6725, allocations: 90.23 kB / 0.9596 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6725, allocations: 0 / 0.9596 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000209/0.6727, allocations: 6.312 kB / 0.9596 GB, free: 3.754 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 (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.0005143/0.6732, allocations: 0.7475 MB / 0.9603 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003319/0.6736, allocations: 98.23 kB / 0.9604 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.6736, allocations: 4 kB / 0.9604 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.6738, allocations: 42.69 kB / 0.9604 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.674, allocations: 15.95 kB / 0.9604 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000362/0.6744, allocations: 165.6 kB / 0.9606 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.674e-05/0.6745, allocations: 0.6807 MB / 0.9613 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.858e-05/0.6745, allocations: 1 kB / 0.9613 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/0.6746, allocations: 16.64 kB / 0.9613 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of SimCode: time 8.42e-07/0.6746, allocations: 3.938 kB / 0.9613 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3636/1.038, allocations: 1.302 MB / 0.9626 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001324/1.038, allocations: 208.8 kB / 0.9628 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.659/3.697, allocations: 0.75 kB / 0.9628 GB, free: 1.23 MB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply.fmu > 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/jenkins1/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