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.001681/0.001681, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002597/0.002597, allocations: 214.5 kB / 23.04 MB, free: 5.074 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.204/3.204, allocations: 0.49 GB / 0.7959 GB, free: 33.28 MB / 0.6231 GB " [Timeout remaining time 176] 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter",fmuType="cs",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.001984/0.001984, allocations: 67.47 kB / 1.155 GB, free: 25.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3427, allocations: 176.1 MB / 1.327 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter): time 0.002004/0.3448, allocations: 0.6819 MB / 1.327 GB, free: 1.254 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.3459, allocations: 0.8242 MB / 1.328 GB, free: 428 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.773e-05/0.3459, allocations: 0 / 1.328 GB, free: 428 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.315e-05/0.346, allocations: 0 / 1.328 GB, free: 428 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.204e-05/0.346, allocations: 3.938 kB / 1.328 GB, free: 424 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.973e-05/0.3461, allocations: 11.98 kB / 1.328 GB, free: 412 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.652e-05/0.3462, allocations: 23.92 kB / 1.328 GB, free: 388 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.17e-05/0.3462, allocations: 11.94 kB / 1.328 GB, free: 376 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.393e-05/0.3463, allocations: 11.98 kB / 1.328 GB, free: 364 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.919e-05/0.3464, allocations: 11.92 kB / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.3464, allocations: 4 kB / 1.328 GB, free: 348 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.24e-06/0.3464, allocations: 0 / 1.328 GB, free: 348 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.3464, allocations: 11.98 kB / 1.328 GB, free: 336 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.419e-05/0.3464, allocations: 7.875 kB / 1.328 GB, free: 328 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 8.721e-05/0.3465, allocations: 28.12 kB / 1.328 GB, free: 300 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3465, allocations: 0 / 1.328 GB, free: 300 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3465, allocations: 0 / 1.328 GB, free: 300 kB / 1.014 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.3465, allocations: 4 kB / 1.328 GB, free: 296 kB / 1.014 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.0004499/0.347, allocations: 262.3 kB / 1.329 GB, free: 0 / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.008e-05/0.347, allocations: 12.08 kB / 1.329 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.752e-05/0.347, allocations: 192 / 1.329 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.853e-05/0.3471, allocations: 34.69 kB / 1.329 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.979e-05/0.3471, allocations: 4.875 kB / 1.329 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.3472, allocations: 110.5 kB / 1.329 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.3472, allocations: 384 / 1.329 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.3472, allocations: 4.375 kB / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.3474, allocations: 53.98 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.3474, allocations: 0 / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.3474, allocations: 4 kB / 1.329 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.3474, allocations: 4 kB / 1.329 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.3476, allocations: 27.97 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.3479, allocations: 227.9 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.3481, allocations: 38.56 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.114e-05/0.3482, allocations: 24.89 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.3482, allocations: 0 / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.3482, allocations: 30.56 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.3482, allocations: 4 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003519/0.3485, allocations: 81.58 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.3486, allocations: 59.41 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.708e-05/0.3487, allocations: 101.8 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.3487, allocations: 25.7 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.055e-05/0.3487, allocations: 84.14 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.3488, allocations: 11.89 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.3488, allocations: 17.78 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.349, allocations: 322.8 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.301e-05/0.349, allocations: 11.98 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.423e-05/0.3491, allocations: 15.98 kB / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.3493, allocations: 48.81 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3493, allocations: 0 / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001973/0.3495, allocations: 69.56 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3495, allocations: 4 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.3495, allocations: 0 / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3495, allocations: 0 / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.3496, allocations: 11.98 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3496, allocations: 0 / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.238e-05/0.3497, allocations: 15.95 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.3497, allocations: 4 kB / 1.33 GB, free: 14.4 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 9.065e-05/0.3498, allocations: 110.3 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.3498, allocations: 4 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.05e-05/0.3498, allocations: 3.312 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3498, allocations: 0 / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3498, allocations: 0 / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.3498, allocations: 0 / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.35, allocations: 144.7 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.35, allocations: 4 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.918e-05/0.3501, allocations: 7.984 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3501, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.934e-06/0.3501, allocations: 4 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3501, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3501, allocations: 3.938 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.3503, allocations: 163.5 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.091e-05/0.3503, allocations: 7.953 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.3503, allocations: 0 / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.307e-05/0.3504, allocations: 4.25 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.89e-05/0.3504, allocations: 3.984 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.3504, allocations: 8 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.957e-05/0.3505, allocations: 83.28 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3505, allocations: 0 / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002248/0.3507, allocations: 4 kB / 1.33 GB, free: 13.78 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.0006527/0.3514, allocations: 0.7006 MB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000204/0.3516, allocations: 39.98 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3516, allocations: 0 / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.45e-05/0.3517, allocations: 15.98 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.352, allocations: 6.344 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004444/0.3524, allocations: 143.2 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.3527, allocations: 0.6729 MB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.563e-05/0.3528, allocations: 8.125 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.094e-05/0.3528, allocations: 15.42 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.3528, allocations: 0 / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.3759, allocations: 1.44 MB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.84, allocations: 4.312 kB / 1.333 GB, free: 10.8 MB / 1.029 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe 2>&1) [Timeout 420.0] 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: 18.741098223021254]