Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001319/0.001319, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001443/0.001443, allocations: 212.3 kB / 23.01 MB, free: 4.566 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.134/3.134, allocations: 0.49 GB / 0.7958 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gain1.u|gain1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gain1.u|gain1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter") [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.00207/0.00207, allocations: 67.55 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3107, allocations: 176.1 MB / 1.327 GB, free: 1.305 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter): time 0.001836/0.3125, allocations: 0.6805 MB / 1.328 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0009542/0.3135, allocations: 0.828 MB / 1.329 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.4e-05/0.3135, allocations: 0 / 1.329 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.938e-05/0.3136, allocations: 0 / 1.329 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.126e-05/0.3136, allocations: 3.938 kB / 1.329 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 5.166e-05/0.3137, allocations: 11.98 kB / 1.329 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.734e-05/0.3137, allocations: 23.88 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.619e-05/0.3138, allocations: 15.98 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.314e-05/0.3139, allocations: 4 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.665e-05/0.3139, allocations: 11.92 kB / 1.329 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.3139, allocations: 4 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.939e-06/0.3139, allocations: 0 / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.3139, allocations: 4 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.139e-05/0.314, allocations: 11.94 kB / 1.329 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 7.514e-05/0.314, allocations: 31.81 kB / 1.329 GB, free: 15.67 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.314, allocations: 0 / 1.329 GB, free: 15.67 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.322e-06/0.314, allocations: 0 / 1.329 GB, free: 15.67 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.314, allocations: 3.938 kB / 1.329 GB, free: 15.66 MB / 1.029 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.0004281/0.3145, allocations: 266.3 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.3145, allocations: 8.031 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.776e-05/0.3145, allocations: 4.938 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.898e-05/0.3146, allocations: 106.5 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.3146, allocations: 4.375 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.3146, allocations: 4.375 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.3148, allocations: 46.23 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.3148, allocations: 4.188 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.3148, allocations: 7.938 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3148, allocations: 0 / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.315, allocations: 35.95 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003184/0.3153, allocations: 216 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.3154, allocations: 42.5 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.139e-05/0.3155, allocations: 28.89 kB / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-06/0.3155, allocations: 0 / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.3156, allocations: 30.56 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.3156, allocations: 0 / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.000338/0.3159, allocations: 89.58 kB / 1.33 GB, free: 14.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.3159, allocations: 51.41 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.713e-05/0.316, allocations: 97.86 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.316, allocations: 29.7 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.661e-05/0.3161, allocations: 84.12 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.3161, allocations: 7.891 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.3161, allocations: 17.66 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3163, allocations: 319 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.93e-05/0.3164, allocations: 15.92 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.273e-05/0.3164, allocations: 23.97 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.3166, allocations: 33.08 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3166, allocations: 4 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001948/0.3168, allocations: 81.55 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3168, allocations: 9.562 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3168, allocations: 0 / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3168, allocations: 0 / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.112e-05/0.3169, allocations: 4 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.3169, allocations: 0 / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.657e-05/0.3169, allocations: 11.98 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.3169, allocations: 0 / 1.33 GB, free: 13.83 MB / 1.029 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.584e-05/0.317, allocations: 117.8 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.3171, allocations: 3.984 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.27e-05/0.3171, allocations: 11.3 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3171, allocations: 0 / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3171, allocations: 0 / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.3171, allocations: 0 / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.3172, allocations: 132.7 kB / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3172, allocations: 0 / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.742e-05/0.3173, allocations: 11.98 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3173, allocations: 4 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.77e-06/0.3173, allocations: 0 / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3173, allocations: 0 / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3173, allocations: 3.938 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.3176, allocations: 163.5 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.171e-05/0.3176, allocations: 7.953 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.3176, allocations: 32 / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.488e-05/0.3177, allocations: 11.98 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/0.3177, allocations: 0 / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.3177, allocations: 0 / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.291e-05/0.3177, allocations: 87.27 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3177, allocations: 0 / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002205/0.318, allocations: 4 kB / 1.331 GB, free: 13.21 MB / 1.029 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.0001122/0.3181, allocations: 103.2 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001967/0.3183, allocations: 39.91 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.3183, allocations: 0 / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.187e-05/0.3184, allocations: 23.97 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.3186, allocations: 9.656 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002737/0.3189, allocations: 127.4 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.3192, allocations: 0.6846 MB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/0.3193, allocations: 7.438 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.3193, allocations: 0 / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of Templates: time 0.001884/0.3211, allocations: 0.5531 MB / 1.332 GB, free: 11.6 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.785631093982374]