Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001305/0.001305, 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.001665/0.001665, allocations: 213.8 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.26/3.26, allocations: 0.505 GB / 0.8101 GB, free: 22 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter,fileNamePrefix="Buildings_latest_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.002692/0.002692, allocations: 68.95 kB / 1.177 GB, free: 17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4188/0.4215, allocations: 180.2 MB / 1.353 GB, free: 8.398 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter): time 0.001949/0.4235, allocations: 0.677 MB / 1.354 GB, free: 7.727 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.4245, allocations: 0.8203 MB / 1.354 GB, free: 6.895 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.383e-05/0.4245, allocations: 0 / 1.354 GB, free: 6.895 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.944e-05/0.4246, allocations: 3.938 kB / 1.354 GB, free: 6.891 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.142e-05/0.4246, allocations: 7.984 kB / 1.354 GB, free: 6.883 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 5.121e-05/0.4247, allocations: 4 kB / 1.354 GB, free: 6.879 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.172e-05/0.4248, allocations: 27.92 kB / 1.354 GB, free: 6.852 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.834e-05/0.4249, allocations: 3.984 kB / 1.354 GB, free: 6.848 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.008e-05/0.4249, allocations: 11.94 kB / 1.354 GB, free: 6.836 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.864e-05/0.425, allocations: 11.98 kB / 1.354 GB, free: 6.824 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.425, allocations: 7.938 kB / 1.354 GB, free: 6.816 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.334e-06/0.425, allocations: 0 / 1.354 GB, free: 6.816 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.813e-05/0.425, allocations: 4 kB / 1.354 GB, free: 6.812 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.13e-05/0.425, allocations: 11.94 kB / 1.354 GB, free: 6.801 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.4252, allocations: 36.09 kB / 1.354 GB, free: 6.766 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4252, allocations: 3.938 kB / 1.354 GB, free: 6.762 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.993e-06/0.4252, allocations: 0 / 1.354 GB, free: 6.762 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.4252, allocations: 0 / 1.354 GB, free: 6.762 MB / 1.045 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.000544/0.4257, allocations: 266.3 kB / 1.355 GB, free: 6.469 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.4258, allocations: 8.031 kB / 1.355 GB, free: 6.461 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.036e-05/0.4258, allocations: 38.75 kB / 1.355 GB, free: 6.414 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.616e-05/0.4258, allocations: 4.891 kB / 1.355 GB, free: 6.41 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.426, allocations: 106.5 kB / 1.355 GB, free: 6.281 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.426, allocations: 4.375 kB / 1.355 GB, free: 6.277 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.426, allocations: 4.375 kB / 1.355 GB, free: 6.273 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.4262, allocations: 46.23 kB / 1.355 GB, free: 6.223 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.4262, allocations: 3.938 kB / 1.355 GB, free: 6.219 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.4262, allocations: 4 kB / 1.355 GB, free: 6.215 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-06/0.4262, allocations: 0 / 1.355 GB, free: 6.215 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.4264, allocations: 43.83 kB / 1.355 GB, free: 6.172 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000362/0.4267, allocations: 216.1 kB / 1.355 GB, free: 5.918 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.4269, allocations: 38.5 kB / 1.355 GB, free: 5.871 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.427, allocations: 28.89 kB / 1.355 GB, free: 5.84 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.427, allocations: 0 / 1.355 GB, free: 5.84 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.427, allocations: 34.56 kB / 1.355 GB, free: 5.797 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.427, allocations: 0 / 1.355 GB, free: 5.797 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003474/0.4274, allocations: 89.53 kB / 1.355 GB, free: 5.703 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.4274, allocations: 51.41 kB / 1.355 GB, free: 5.641 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.493e-05/0.4275, allocations: 97.86 kB / 1.356 GB, free: 5.535 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.4275, allocations: 29.7 kB / 1.356 GB, free: 5.5 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.4276, allocations: 84.27 kB / 1.356 GB, free: 5.414 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.4276, allocations: 11.88 kB / 1.356 GB, free: 5.402 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.4276, allocations: 13.72 kB / 1.356 GB, free: 5.383 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.4278, allocations: 314.8 kB / 1.356 GB, free: 5.066 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.932e-05/0.4279, allocations: 11.98 kB / 1.356 GB, free: 5.055 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.174e-05/0.4279, allocations: 19.98 kB / 1.356 GB, free: 5.035 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.4281, allocations: 48.81 kB / 1.356 GB, free: 4.984 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.4281, allocations: 3.938 kB / 1.356 GB, free: 4.98 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001804/0.4283, allocations: 61.66 kB / 1.356 GB, free: 4.914 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.4283, allocations: 8 kB / 1.356 GB, free: 4.906 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4283, allocations: 3.938 kB / 1.356 GB, free: 4.902 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.4283, allocations: 0 / 1.356 GB, free: 4.902 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.046e-05/0.4284, allocations: 12.02 kB / 1.356 GB, free: 4.891 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.4284, allocations: 0 / 1.356 GB, free: 4.891 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.54e-05/0.4284, allocations: 11.98 kB / 1.356 GB, free: 4.879 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.4284, allocations: 4 kB / 1.356 GB, free: 4.875 MB / 1.045 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.251e-05/0.4285, allocations: 117.7 kB / 1.356 GB, free: 4.75 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/0.4286, allocations: 0 / 1.356 GB, free: 4.75 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.06e-05/0.4286, allocations: 11.3 kB / 1.356 GB, free: 4.742 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4286, allocations: 0 / 1.356 GB, free: 4.742 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4286, allocations: 0 / 1.356 GB, free: 4.742 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.4286, allocations: 4 kB / 1.356 GB, free: 4.738 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.4288, allocations: 132.9 kB / 1.356 GB, free: 4.566 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4288, allocations: 7.938 kB / 1.356 GB, free: 4.559 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.868e-05/0.4288, allocations: 11.98 kB / 1.356 GB, free: 4.547 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.4288, allocations: 0 / 1.356 GB, free: 4.547 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.4288, allocations: 0 / 1.356 GB, free: 4.547 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4288, allocations: 0 / 1.356 GB, free: 4.547 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4288, allocations: 0 / 1.356 GB, free: 4.547 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.4291, allocations: 171.4 kB / 1.357 GB, free: 4.363 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-06/0.4291, allocations: 4 kB / 1.357 GB, free: 4.359 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.4291, allocations: 3.938 kB / 1.357 GB, free: 4.355 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.574e-05/0.4292, allocations: 7.984 kB / 1.357 GB, free: 4.348 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.4292, allocations: 0 / 1.357 GB, free: 4.348 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.4292, allocations: 0 / 1.357 GB, free: 4.348 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.044e-05/0.4293, allocations: 87.27 kB / 1.357 GB, free: 4.262 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4293, allocations: 4.031 kB / 1.357 GB, free: 4.258 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002095/0.4295, allocations: 4 kB / 1.357 GB, free: 4.254 MB / 1.045 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.0006136/0.4301, allocations: 0.6928 MB / 1.357 GB, free: 3.531 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000205/0.4303, allocations: 36 kB / 1.357 GB, free: 3.496 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4303, allocations: 0 / 1.357 GB, free: 3.496 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.667e-05/0.4304, allocations: 27.91 kB / 1.357 GB, free: 3.469 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.4307, allocations: 4 kB / 1.357 GB, free: 3.465 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004596/0.4312, allocations: 131.2 kB / 1.358 GB, free: 3.297 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.4316, allocations: 0.6808 MB / 1.358 GB, free: 2.59 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.529e-05/0.4316, allocations: 0 / 1.358 GB, free: 2.59 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.283e-05/0.4317, allocations: 19.38 kB / 1.358 GB, free: 2.57 MB / 1.045 GB Notification: Performance of SimCode: time 3.1e-07/0.4317, allocations: 0 / 1.358 GB, free: 2.57 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03156/0.4632, allocations: 1.402 MB / 1.36 GB, free: 1.297 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.34, allocations: 5.781 kB / 1.36 GB, free: 1.293 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter_res.csv. Warning: Get data of variable gain1.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.33339801200009]