Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 215.1 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.481/1.481, allocations: 230.6 MB / 256 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.797/2.797, allocations: 476.8 MB / 0.7707 GB, free: 4.328 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 65.14 kB / 1.117 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3375, allocations: 169.9 MB / 1.283 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter): time 0.001928/0.3394, allocations: 0.6901 MB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009809/0.3404, allocations: 0.8199 MB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.544e-05/0.3404, allocations: 4 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.36e-05/0.3404, allocations: 0 / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.564e-05/0.3405, allocations: 3.938 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.072e-05/0.3405, allocations: 7.984 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.102e-05/0.3406, allocations: 27.86 kB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.3407, allocations: 8 kB / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.384e-05/0.3408, allocations: 11.98 kB / 1.285 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.748e-05/0.3408, allocations: 7.938 kB / 1.285 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.3408, allocations: 0 / 1.285 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.155e-06/0.3409, allocations: 4 kB / 1.285 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.138e-05/0.3409, allocations: 11.97 kB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.3409, allocations: 7.938 kB / 1.285 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.732e-05/0.341, allocations: 27.42 kB / 1.285 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.341, allocations: 0 / 1.285 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.314e-06/0.341, allocations: 4 kB / 1.285 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.341, allocations: 0 / 1.285 GB, free: 9.906 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004862/0.3415, allocations: 264.4 kB / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.992e-05/0.3415, allocations: 8.031 kB / 1.285 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.893e-05/0.3416, allocations: 34.69 kB / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.192e-05/0.3416, allocations: 0.9375 kB / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.3417, allocations: 118.5 kB / 1.285 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.3417, allocations: 4.312 kB / 1.285 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.3418, allocations: 8.375 kB / 1.285 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.3419, allocations: 46.23 kB / 1.285 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3419, allocations: 3.938 kB / 1.285 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.342, allocations: 4 kB / 1.285 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.342, allocations: 0 / 1.285 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001616/0.3421, allocations: 27.97 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003259/0.3424, allocations: 224 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.3426, allocations: 42.44 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.452e-05/0.3427, allocations: 20.91 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.3427, allocations: 0 / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.3427, allocations: 34.56 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.3427, allocations: 0 / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003297/0.343, allocations: 81.64 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.3431, allocations: 63.28 kB / 1.286 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.908e-05/0.3432, allocations: 101.8 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.3432, allocations: 25.7 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.784e-05/0.3433, allocations: 88.08 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.3433, allocations: 4.078 kB / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.3433, allocations: 17.72 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3434, allocations: 318.8 kB / 1.286 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.9e-05/0.3435, allocations: 15.98 kB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.669e-05/0.3436, allocations: 11.98 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.3437, allocations: 40.89 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.3437, allocations: 3.938 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001891/0.3439, allocations: 77.59 kB / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.3439, allocations: 4 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.3439, allocations: 3.938 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.344, allocations: 0 / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.895e-05/0.344, allocations: 11.98 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3441, allocations: 256 / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.562e-05/0.3441, allocations: 12.02 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.3441, allocations: 4 kB / 1.287 GB, free: 8.02 MB / 0.9825 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 (2): * Single equations (assignments): 2 * 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 8.457e-05/0.3442, allocations: 113.8 kB / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.3442, allocations: 0 / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.73e-05/0.3442, allocations: 7.312 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3442, allocations: 0 / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3442, allocations: 0 / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.3442, allocations: 0 / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.3444, allocations: 144.6 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3444, allocations: 4 kB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.417e-05/0.3444, allocations: 4 kB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.3445, allocations: 7.984 kB / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.3445, allocations: 0 / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3445, allocations: 0 / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3445, allocations: 0 / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.3447, allocations: 171.4 kB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-06/0.3447, allocations: 3.953 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.3447, allocations: 0 / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.423e-05/0.3448, allocations: 7.938 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.3448, allocations: 7.984 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.3448, allocations: 0 / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.824e-05/0.3449, allocations: 83.28 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3449, allocations: 0 / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002108/0.3451, allocations: 4 kB / 1.287 GB, free: 7.406 MB / 0.9825 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 (2): * Single equations (assignments): 2 * 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.0005475/0.3456, allocations: 0.6929 MB / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002045/0.3458, allocations: 43.92 kB / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.3458, allocations: 0 / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.281e-05/0.3459, allocations: 19.98 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.3462, allocations: 2.5 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000432/0.3467, allocations: 139.2 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.347, allocations: 0.6729 MB / 1.289 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.056e-05/0.347, allocations: 4.125 kB / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.045e-05/0.347, allocations: 19.42 kB / 1.289 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.347, allocations: 0 / 1.289 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02883/0.3759, allocations: 1.393 MB / 1.29 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.08, allocations: 7.156 kB / 1.29 GB, free: 4.457 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable gain1.u in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter_res.csv. Warning: Get data of variable gain1.u from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.118349622000096]