Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.001632/0.001632, 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.002049/0.002049, 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.544/1.544, allocations: 230.6 MB / 256 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.302/3.302, allocations: 0.49 GB / 0.7951 GB, free: 33.25 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.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",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.002027/0.002027, allocations: 76.06 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.3873, allocations: 176.1 MB / 1.326 GB, free: 1.988 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002753/0.3901, allocations: 0.8326 MB / 1.327 GB, free: 1.16 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001761/0.3902, allocations: 43.78 kB / 1.327 GB, free: 1.117 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.187e-05/0.3903, allocations: 4 kB / 1.327 GB, free: 1.113 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.276e-05/0.3904, allocations: 7.875 kB / 1.327 GB, free: 1.105 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.3905, allocations: 7.922 kB / 1.327 GB, free: 1.098 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.256e-05/0.3906, allocations: 19.98 kB / 1.327 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.3908, allocations: 63.78 kB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001891/0.391, allocations: 31.98 kB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.3911, allocations: 31.84 kB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.092e-05/0.3912, allocations: 27.86 kB / 1.327 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.3912, allocations: 8 kB / 1.327 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.633e-05/0.3912, allocations: 11.94 kB / 1.327 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.752e-05/0.3913, allocations: 7.984 kB / 1.327 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.53e-05/0.3913, allocations: 39.73 kB / 1.327 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.3915, allocations: 83.73 kB / 1.327 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.3916, allocations: 4 kB / 1.327 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.847e-06/0.3916, allocations: 0 / 1.327 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.3916, allocations: 0 / 1.327 GB, free: 0.7734 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007808/0.3923, allocations: 302 kB / 1.327 GB, free: 456 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.856e-05/0.3924, allocations: 12.03 kB / 1.327 GB, free: 444 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001086/0.3925, allocations: 42.73 kB / 1.327 GB, free: 392 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.662e-05/0.3926, allocations: 8.891 kB / 1.327 GB, free: 384 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/0.393, allocations: 130.4 kB / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.393, allocations: 8.375 kB / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.258e-05/0.393, allocations: 8.375 kB / 1.328 GB, free: 212 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003055/0.3933, allocations: 93.73 kB / 1.328 GB, free: 108 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.3933, allocations: 7.922 kB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.3934, allocations: 4 kB / 1.328 GB, free: 96 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.3934, allocations: 8 kB / 1.328 GB, free: 88 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.3935, allocations: 35.92 kB / 1.328 GB, free: 52 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.3946, allocations: 399.7 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.3947, allocations: 37.28 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.892e-05/0.3947, allocations: 25.83 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.3947, allocations: 4 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/0.3948, allocations: 30.56 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 5.401e-06/0.3948, allocations: 3.984 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003573/0.3952, allocations: 53.53 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.991e-05/0.3953, allocations: 89.36 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002635/0.3955, allocations: 161.6 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.3955, allocations: 29.7 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.3957, allocations: 108 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.3957, allocations: 7.891 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.592e-05/0.3958, allocations: 17.7 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002573/0.396, allocations: 314.8 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.007e-05/0.3961, allocations: 8 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.429e-05/0.3961, allocations: 29.7 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.668e-05/0.3962, allocations: 21.72 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-06/0.3962, allocations: 0 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001347/0.3963, allocations: 61.58 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.3963, allocations: 7.938 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3963, allocations: 4 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.693e-05/0.3964, allocations: 4.062 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.3965, allocations: 8 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.3965, allocations: 0 / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.655e-05/0.3965, allocations: 11.89 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.3965, allocations: 3.984 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.0001393/0.3967, allocations: 114.4 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.362e-05/0.3967, allocations: 11.89 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.56e-05/0.3968, allocations: 15.73 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3968, allocations: 0 / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.3968, allocations: 4 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.3968, allocations: 4 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006323/0.3975, allocations: 445.8 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3975, allocations: 0 / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.632e-05/0.3975, allocations: 4 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.3975, allocations: 0 / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.3975, allocations: 0 / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3975, allocations: 4.062 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3975, allocations: 0 / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.3976, allocations: 85.83 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.507e-05/0.3977, allocations: 7.953 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.3977, allocations: 7.984 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.215e-05/0.3977, allocations: 0 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.3978, allocations: 11.91 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.3978, allocations: 0 / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000135/0.3979, allocations: 121.5 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3979, allocations: 0 / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002467/0.3981, allocations: 12 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0006788/0.3988, allocations: 0.6093 MB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001318/0.399, allocations: 19.94 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.399, allocations: 0 / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.058e-05/0.399, allocations: 8 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.3992, allocations: 5.375 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.401, allocations: 1.33 MB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/0.4014, allocations: 0.6963 MB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.256e-05/0.4014, allocations: 4.438 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.18e-05/0.4015, allocations: 27.42 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of SimCode: time 7.91e-07/0.4015, allocations: 0 / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03184/0.4333, allocations: 1.701 MB / 1.334 GB, free: 9.137 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.83, allocations: 6.062 kB / 1.334 GB, free: 9.133 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_quad_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.705015376908705]