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.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.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.01241/0.01241, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.002398/0.002397, allocations: 198.4 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.518/2.518, allocations: 222.9 MB / 240.4 MB, free: 4.328 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 4.334/4.334, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 69.02 kB / 0.9505 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5231/0.5254, allocations: 140.4 MB / 1.088 GB, free: 1.926 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply): time 0.00317/0.5287, allocations: 0.7058 MB / 1.088 GB, free: 1.219 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001496/0.5302, allocations: 0.8004 MB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.965e-05/0.5303, allocations: 0 / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.655e-05/0.5304, allocations: 3.938 kB / 1.089 GB, free: 412 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.043e-05/0.5305, allocations: 3.938 kB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 7.982e-05/0.5306, allocations: 19.98 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.5307, allocations: 47.83 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.5309, allocations: 8 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.668e-05/0.531, allocations: 19.92 kB / 1.089 GB, free: 312 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.663e-05/0.5311, allocations: 27.84 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.5311, allocations: 4 kB / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.028e-05/0.5311, allocations: 4 kB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.34e-05/0.5312, allocations: 4 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.076e-05/0.5312, allocations: 15.92 kB / 1.089 GB, free: 256 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.5314, allocations: 55.95 kB / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.5314, allocations: 0 / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5314, allocations: 0 / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.5314, allocations: 0 / 1.089 GB, free: 200 kB / 0.8419 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.0009116/0.5324, allocations: 359.4 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.355e-05/0.5324, allocations: 8.031 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.973e-05/0.5325, allocations: 38.73 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.5326, allocations: 4.891 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.5328, allocations: 172.3 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.961e-05/0.5328, allocations: 4.375 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.5329, allocations: 4.375 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003949/0.5333, allocations: 70.16 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.5333, allocations: 3.938 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.5334, allocations: 0 / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.5334, allocations: 0 / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004493/0.5338, allocations: 67.92 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005514/0.5344, allocations: 272.8 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/0.5347, allocations: 58.47 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/0.535, allocations: 40.92 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.535, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/0.5351, allocations: 30.56 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/0.5351, allocations: 0 / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.000867/0.5359, allocations: 137.5 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/0.536, allocations: 51.41 kB / 1.09 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003818/0.5364, allocations: 117.8 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.5365, allocations: 25.7 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.5366, allocations: 80.14 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.704e-05/0.5367, allocations: 11.95 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.871e-05/0.5367, allocations: 13.7 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002192/0.537, allocations: 322.8 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/0.5372, allocations: 31.91 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.5375, allocations: 31.95 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004867/0.538, allocations: 76.72 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.538, allocations: 0 / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005597/0.5386, allocations: 97.58 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/0.5386, allocations: 4 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.5386, allocations: 3.938 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.5387, allocations: 4 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.5389, allocations: 15.98 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.5389, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.539, allocations: 11.98 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.5391, allocations: 3.984 kB / 1.091 GB, free: 13.83 MB / 0.8575 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 0.0001554/0.5393, allocations: 121.7 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.817e-05/0.5393, allocations: 0 / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.086e-05/0.5394, allocations: 7.906 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.5394, allocations: 0 / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.5394, allocations: 4 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.5394, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003522/0.5398, allocations: 173.6 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.5398, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.54, allocations: 15.98 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.54, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.54, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.117e-05/0.54, allocations: 4 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.54, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00071/0.5408, allocations: 203.3 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.5409, allocations: 85.09 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.5409, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.5411, allocations: 7.984 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.479e-05/0.5412, allocations: 8 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.5413, allocations: 4 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001329/0.5414, allocations: 95.25 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of sort global known variables: time 5.61e-07/0.5414, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004452/0.5419, allocations: 7.938 kB / 1.092 GB, free: 13.01 MB / 0.8575 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.001276/0.5432, allocations: 0.7361 MB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005458/0.5438, allocations: 67.92 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.5438, allocations: 3.938 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002362/0.544, allocations: 36.06 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005721/0.5446, allocations: 7.984 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008161/0.5454, allocations: 159.3 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004671/0.5459, allocations: 0.6768 MB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.85e-05/0.546, allocations: 7.938 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.437e-05/0.5461, allocations: 15.44 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of SimCode: time 7.12e-07/0.5461, allocations: 0 / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03762/0.5837, allocations: 1.636 MB / 1.095 GB, free: 9.676 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/13.91, allocations: 5.359 kB / 1.095 GB, free: 9.672 MB / 0.8575 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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