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.001797/0.001797, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002374/0.002374, allocations: 217.3 kB / 22.26 MB, free: 5.113 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.548/1.548, allocations: 230.6 MB / 256 MB, free: 8.016 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.387/3.387, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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.002086/0.002086, allocations: 69.95 kB / 1.177 GB, free: 17.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3969, allocations: 180.2 MB / 1.353 GB, free: 8.395 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter): time 0.002188/0.399, allocations: 0.6736 MB / 1.354 GB, free: 7.727 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.4002, allocations: 0.8164 MB / 1.354 GB, free: 6.898 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.537e-05/0.4003, allocations: 0 / 1.354 GB, free: 6.898 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.98e-05/0.4003, allocations: 4 kB / 1.354 GB, free: 6.895 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.414e-05/0.4003, allocations: 7.938 kB / 1.354 GB, free: 6.887 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 5.955e-05/0.4004, allocations: 7.984 kB / 1.354 GB, free: 6.879 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.953e-05/0.4005, allocations: 23.92 kB / 1.354 GB, free: 6.855 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.4006, allocations: 4 kB / 1.354 GB, free: 6.852 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.126e-05/0.4007, allocations: 15.92 kB / 1.354 GB, free: 6.836 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.581e-05/0.4007, allocations: 4 kB / 1.354 GB, free: 6.832 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.4007, allocations: 7.938 kB / 1.354 GB, free: 6.824 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.254e-06/0.4007, allocations: 4 kB / 1.354 GB, free: 6.82 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.601e-05/0.4008, allocations: 3.984 kB / 1.354 GB, free: 6.816 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.53e-05/0.4008, allocations: 11.94 kB / 1.354 GB, free: 6.805 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 8.739e-05/0.4009, allocations: 24.17 kB / 1.354 GB, free: 6.781 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4009, allocations: 3.938 kB / 1.354 GB, free: 6.777 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4009, allocations: 4 kB / 1.354 GB, free: 6.773 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.4009, allocations: 0 / 1.354 GB, free: 6.773 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.0005112/0.4014, allocations: 262.3 kB / 1.355 GB, free: 6.484 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.4014, allocations: 15.97 kB / 1.355 GB, free: 6.469 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.29e-05/0.4015, allocations: 34.75 kB / 1.355 GB, free: 6.426 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.877e-05/0.4015, allocations: 8.875 kB / 1.355 GB, free: 6.418 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.4016, allocations: 110.5 kB / 1.355 GB, free: 6.285 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.4016, allocations: 384 / 1.355 GB, free: 6.285 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.4016, allocations: 8.297 kB / 1.355 GB, free: 6.277 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.4018, allocations: 50.23 kB / 1.355 GB, free: 6.223 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.4018, allocations: 3.938 kB / 1.355 GB, free: 6.219 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.4018, allocations: 0 / 1.355 GB, free: 6.219 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.4019, allocations: 4 kB / 1.355 GB, free: 6.215 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.402, allocations: 27.97 kB / 1.355 GB, free: 6.188 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.4024, allocations: 232 kB / 1.355 GB, free: 5.918 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.4025, allocations: 34.5 kB / 1.355 GB, free: 5.875 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.551e-05/0.4026, allocations: 20.91 kB / 1.355 GB, free: 5.852 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.4026, allocations: 0 / 1.355 GB, free: 5.852 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.4027, allocations: 34.56 kB / 1.355 GB, free: 5.809 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.4027, allocations: 0 / 1.355 GB, free: 5.809 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003421/0.403, allocations: 89.53 kB / 1.355 GB, free: 5.715 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.4031, allocations: 51.41 kB / 1.355 GB, free: 5.652 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.4032, allocations: 105.8 kB / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.4032, allocations: 25.83 kB / 1.356 GB, free: 5.508 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.173e-05/0.4032, allocations: 84.14 kB / 1.356 GB, free: 5.422 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.4033, allocations: 15.89 kB / 1.356 GB, free: 5.406 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.4033, allocations: 9.719 kB / 1.356 GB, free: 5.391 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.4035, allocations: 314.8 kB / 1.356 GB, free: 5.074 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.24e-05/0.4036, allocations: 19.98 kB / 1.356 GB, free: 5.055 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.924e-05/0.4036, allocations: 11.98 kB / 1.356 GB, free: 5.043 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.4038, allocations: 44.89 kB / 1.356 GB, free: 4.996 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.4038, allocations: 3.938 kB / 1.356 GB, free: 4.992 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001912/0.404, allocations: 69.59 kB / 1.356 GB, free: 4.918 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.404, allocations: 4 kB / 1.356 GB, free: 4.914 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.404, allocations: 3.938 kB / 1.356 GB, free: 4.91 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.404, allocations: 0 / 1.356 GB, free: 4.91 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.154e-05/0.4041, allocations: 16.27 kB / 1.356 GB, free: 4.895 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.4041, allocations: 0 / 1.356 GB, free: 4.895 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.901e-05/0.4041, allocations: 11.98 kB / 1.356 GB, free: 4.883 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.4041, allocations: 0 / 1.356 GB, free: 4.883 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 0.0001039/0.4043, allocations: 114.4 kB / 1.356 GB, free: 4.762 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.4043, allocations: 4 kB / 1.356 GB, free: 4.758 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.71e-05/0.4043, allocations: 3.312 kB / 1.356 GB, free: 4.758 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.4043, allocations: 0 / 1.356 GB, free: 4.758 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4043, allocations: 4 kB / 1.356 GB, free: 4.754 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.4043, allocations: 0 / 1.356 GB, free: 4.754 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.4045, allocations: 136.7 kB / 1.356 GB, free: 4.578 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4045, allocations: 0 / 1.356 GB, free: 4.578 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.54e-05/0.4045, allocations: 4 kB / 1.356 GB, free: 4.574 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.4045, allocations: 3.984 kB / 1.356 GB, free: 4.57 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.4046, allocations: 3.938 kB / 1.356 GB, free: 4.566 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.4046, allocations: 7.938 kB / 1.356 GB, free: 4.559 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4046, allocations: 0 / 1.356 GB, free: 4.559 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.4048, allocations: 171.4 kB / 1.357 GB, free: 4.375 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-06/0.4048, allocations: 0 / 1.357 GB, free: 4.375 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.4048, allocations: 0 / 1.357 GB, free: 4.375 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.854e-05/0.4049, allocations: 4 kB / 1.357 GB, free: 4.371 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.405, allocations: 3.984 kB / 1.357 GB, free: 4.367 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.405, allocations: 8 kB / 1.357 GB, free: 4.359 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.056e-05/0.405, allocations: 83.31 kB / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.405, allocations: 0 / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002109/0.4052, allocations: 4 kB / 1.357 GB, free: 4.273 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.0006166/0.4059, allocations: 0.6929 MB / 1.357 GB, free: 3.551 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002018/0.4061, allocations: 35.95 kB / 1.357 GB, free: 3.516 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4061, allocations: 4 kB / 1.357 GB, free: 3.512 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.898e-05/0.4061, allocations: 15.98 kB / 1.357 GB, free: 3.496 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.4065, allocations: 8.094 kB / 1.357 GB, free: 3.492 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005038/0.407, allocations: 147.3 kB / 1.358 GB, free: 3.309 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.4073, allocations: 0.6768 MB / 1.358 GB, free: 2.605 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.289e-05/0.4073, allocations: 0 / 1.358 GB, free: 2.605 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.724e-05/0.4073, allocations: 15.36 kB / 1.358 GB, free: 2.59 MB / 1.045 GB Notification: Performance of SimCode: time 5.41e-07/0.4073, allocations: 0 / 1.358 GB, free: 2.59 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0278/0.4351, allocations: 1.411 MB / 1.36 GB, free: 1.305 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.66, allocations: 2.891 kB / 1.36 GB, free: 1.305 MB / 1.045 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.639022934949026]