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.001682/0.001682, allocations: 102.7 kB / 16.45 MB, free: 6.449 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.002269/0.002269, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.535/1.535, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.219/3.219, allocations: 0.49 GB / 0.7916 GB, free: 33.61 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter,fileNamePrefix="Buildings_12_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.002208/0.002208, allocations: 67.44 kB / 1.149 GB, free: 26.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3933, allocations: 176.1 MB / 1.321 GB, free: 3.387 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter): time 0.001951/0.3953, allocations: 0.6817 MB / 1.322 GB, free: 2.703 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0009579/0.3962, allocations: 0.8202 MB / 1.322 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.939e-05/0.3963, allocations: 0 / 1.322 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.546e-05/0.3963, allocations: 4 kB / 1.322 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.686e-05/0.3964, allocations: 3.938 kB / 1.322 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.681e-05/0.3964, allocations: 4 kB / 1.322 GB, free: 1.859 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.713e-05/0.3965, allocations: 27.91 kB / 1.322 GB, free: 1.832 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.162e-05/0.3966, allocations: 7.984 kB / 1.322 GB, free: 1.824 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.227e-05/0.3966, allocations: 15.94 kB / 1.322 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.533e-05/0.3966, allocations: 15.92 kB / 1.322 GB, free: 1.793 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.3967, allocations: 0 / 1.322 GB, free: 1.793 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.994e-06/0.3967, allocations: 4 kB / 1.322 GB, free: 1.789 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.3967, allocations: 0 / 1.322 GB, free: 1.789 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.745e-05/0.3967, allocations: 7.938 kB / 1.322 GB, free: 1.781 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 7.847e-05/0.3968, allocations: 32.11 kB / 1.322 GB, free: 1.75 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3968, allocations: 0 / 1.322 GB, free: 1.75 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3968, allocations: 0 / 1.322 GB, free: 1.75 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.667e-06/0.3968, allocations: 0 / 1.322 GB, free: 1.75 MB / 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.0004731/0.3973, allocations: 339.5 kB / 1.323 GB, free: 1.367 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.3973, allocations: 15.98 kB / 1.323 GB, free: 1.352 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.684e-05/0.3974, allocations: 30.75 kB / 1.323 GB, free: 1.312 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.746e-05/0.3974, allocations: 4.938 kB / 1.323 GB, free: 1.309 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.3975, allocations: 176.3 kB / 1.323 GB, free: 1.098 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.3975, allocations: 384 / 1.323 GB, free: 1.098 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.477e-06/0.3975, allocations: 384 / 1.323 GB, free: 1.098 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.3977, allocations: 50.23 kB / 1.323 GB, free: 1.043 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.3977, allocations: 7.938 kB / 1.323 GB, free: 1.035 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.3977, allocations: 0 / 1.323 GB, free: 1.035 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.3977, allocations: 0 / 1.323 GB, free: 1.035 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.3979, allocations: 35.95 kB / 1.323 GB, free: 1 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.3983, allocations: 244.9 kB / 1.323 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.3984, allocations: 46.48 kB / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.903e-05/0.3985, allocations: 24.91 kB / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.3985, allocations: 0 / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.3986, allocations: 30.56 kB / 1.323 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.3986, allocations: 0 / 1.323 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003798/0.3989, allocations: 89.67 kB / 1.323 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.399, allocations: 51.41 kB / 1.324 GB, free: 444 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.486e-05/0.3991, allocations: 105.8 kB / 1.324 GB, free: 328 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.3991, allocations: 25.7 kB / 1.324 GB, free: 296 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.3991, allocations: 84.09 kB / 1.324 GB, free: 208 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.3992, allocations: 3.938 kB / 1.324 GB, free: 204 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.3992, allocations: 21.66 kB / 1.324 GB, free: 176 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.3994, allocations: 310.8 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.387e-05/0.3994, allocations: 31.94 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.614e-05/0.3995, allocations: 11.98 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.3997, allocations: 36.83 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3997, allocations: 3.938 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002079/0.3999, allocations: 77.61 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.3999, allocations: 10.34 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.3999, allocations: 0 / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.3999, allocations: 3.984 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.725e-05/0.4, allocations: 7.984 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.4, allocations: 4 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.362e-05/0.4001, allocations: 0 / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.4001, allocations: 4 kB / 1.324 GB, free: 15.66 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.695e-05/0.4001, allocations: 117.8 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.4002, allocations: 0 / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.949e-05/0.4002, allocations: 11.12 kB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.4002, allocations: 0 / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.4002, allocations: 256 / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.4002, allocations: 0 / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.4004, allocations: 161.6 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.4004, allocations: 3.984 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.915e-05/0.4004, allocations: 8 kB / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.4004, allocations: 0 / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.4004, allocations: 4 kB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.4004, allocations: 0 / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4004, allocations: 0 / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.4007, allocations: 171.3 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.56e-05/0.4008, allocations: 81.11 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.4008, allocations: 3.984 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.644e-05/0.4008, allocations: 8.031 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.487e-05/0.4009, allocations: 0 / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.4009, allocations: 0 / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.53e-05/0.4009, allocations: 87.27 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4009, allocations: 0 / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002125/0.4011, allocations: 4 kB / 1.325 GB, free: 14.92 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.0006214/0.4018, allocations: 0.7007 MB / 1.326 GB, free: 14.19 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002141/0.402, allocations: 35.95 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.402, allocations: 7.938 kB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.089e-05/0.4021, allocations: 20.08 kB / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.4024, allocations: 7.938 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004277/0.4028, allocations: 135.1 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.4031, allocations: 0.6845 MB / 1.326 GB, free: 13.24 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.074e-05/0.4031, allocations: 0 / 1.326 GB, free: 13.24 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.597e-05/0.4031, allocations: 11.44 kB / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4031, allocations: 0 / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02433/0.4275, allocations: 1.31 MB / 1.328 GB, free: 12.04 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.09/8.518, allocations: 0.5 kB / 1.328 GB, free: 12.04 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.415029793046415]