Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.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.001397/0.001397, allocations: 107.7 kB / 16.45 MB, free: 6.453 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.00151/0.00151, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.525/1.525, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.262/3.262, allocations: 0.49 GB / 0.7916 GB, free: 33.59 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_cfm,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",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.002066/0.002066, allocations: 69.16 kB / 1.149 GB, free: 26.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3957, allocations: 176.1 MB / 1.321 GB, free: 3.336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.003068/0.3988, allocations: 0.8431 MB / 1.322 GB, free: 2.496 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001742/0.399, allocations: 43.8 kB / 1.322 GB, free: 2.453 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.852e-05/0.399, allocations: 0 / 1.322 GB, free: 2.453 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.437e-05/0.3991, allocations: 7.875 kB / 1.322 GB, free: 2.445 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.3992, allocations: 11.88 kB / 1.322 GB, free: 2.434 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.525e-05/0.3993, allocations: 19.98 kB / 1.322 GB, free: 2.414 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.3994, allocations: 67.81 kB / 1.322 GB, free: 2.348 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.3996, allocations: 31.92 kB / 1.322 GB, free: 2.316 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.3997, allocations: 27.86 kB / 1.322 GB, free: 2.289 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.576e-05/0.3998, allocations: 23.86 kB / 1.322 GB, free: 2.266 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.543e-05/0.3998, allocations: 15.88 kB / 1.322 GB, free: 2.25 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.233e-05/0.3998, allocations: 4 kB / 1.322 GB, free: 2.246 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.996e-05/0.3998, allocations: 15.98 kB / 1.322 GB, free: 2.23 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.539e-05/0.3999, allocations: 35.75 kB / 1.322 GB, free: 2.195 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.4001, allocations: 75.84 kB / 1.322 GB, free: 2.121 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.4001, allocations: 4 kB / 1.322 GB, free: 2.117 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4001, allocations: 0 / 1.322 GB, free: 2.117 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.4001, allocations: 0 / 1.322 GB, free: 2.117 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.0006208/0.4007, allocations: 383.1 kB / 1.322 GB, free: 1.691 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.4008, allocations: 11.98 kB / 1.322 GB, free: 1.68 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.018e-05/0.4008, allocations: 46.73 kB / 1.322 GB, free: 1.625 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/0.4009, allocations: 8.891 kB / 1.322 GB, free: 1.617 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.4012, allocations: 192.2 kB / 1.323 GB, free: 1.391 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.4012, allocations: 4.375 kB / 1.323 GB, free: 1.387 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.4012, allocations: 12.38 kB / 1.323 GB, free: 1.375 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.4014, allocations: 99.78 kB / 1.323 GB, free: 1.266 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.4015, allocations: 3.938 kB / 1.323 GB, free: 1.262 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.4015, allocations: 4 kB / 1.323 GB, free: 1.258 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.4015, allocations: 3.984 kB / 1.323 GB, free: 1.254 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.4016, allocations: 35.98 kB / 1.323 GB, free: 1.219 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007645/0.4024, allocations: 444.6 kB / 1.323 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 8.091e-05/0.4024, allocations: 37.22 kB / 1.323 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.434e-05/0.4025, allocations: 13.78 kB / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.4025, allocations: 3.984 kB / 1.323 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/0.4025, allocations: 46.59 kB / 1.323 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.432e-06/0.4025, allocations: 0 / 1.323 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0002382/0.4028, allocations: 57.48 kB / 1.323 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.721e-05/0.4028, allocations: 81.05 kB / 1.323 GB, free: 448 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.4031, allocations: 160.1 kB / 1.324 GB, free: 280 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.4031, allocations: 25.7 kB / 1.324 GB, free: 248 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.425e-05/0.4032, allocations: 108.3 kB / 1.324 GB, free: 136 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.133e-05/0.4032, allocations: 7.953 kB / 1.324 GB, free: 128 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-05/0.4033, allocations: 17.72 kB / 1.324 GB, free: 104 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002041/0.4035, allocations: 318.8 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.549e-05/0.4035, allocations: 4 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.986e-05/0.4035, allocations: 21.7 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.829e-05/0.4036, allocations: 33.66 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4036, allocations: 0 / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001282/0.4037, allocations: 53.66 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.4037, allocations: 7.938 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.4038, allocations: 3.984 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.4038, allocations: 4 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.007e-05/0.4039, allocations: 7.938 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.4039, allocations: 0 / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.799e-05/0.4039, allocations: 7.953 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-06/0.4039, allocations: 0 / 1.324 GB, free: 15.62 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.00011/0.404, allocations: 119.4 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.961e-05/0.4041, allocations: 11.89 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.583e-05/0.4041, allocations: 15.86 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4041, allocations: 0 / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.4041, allocations: 0 / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.4041, allocations: 4 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006421/0.4048, allocations: 470.8 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4048, allocations: 0 / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.653e-05/0.4048, allocations: 4 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.4048, allocations: 0 / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.4048, allocations: 4 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.4048, allocations: 0 / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4048, allocations: 0 / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.405, allocations: 93.83 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.562e-05/0.4051, allocations: 89 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.4051, allocations: 3.984 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.203e-05/0.4051, allocations: 7.875 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.668e-05/0.4051, allocations: 4 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.4051, allocations: 4 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000142/0.4053, allocations: 120.9 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4053, allocations: 0 / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003027/0.4056, allocations: 8 kB / 1.325 GB, free: 14.57 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.000596/0.4062, allocations: 0.6171 MB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001111/0.4063, allocations: 16 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4063, allocations: 4.156 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.989e-05/0.4063, allocations: 7.938 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.4065, allocations: 8 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.4085, allocations: 1.323 MB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004425/0.4089, allocations: 0.7002 MB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.332e-05/0.4089, allocations: 4.438 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.563e-05/0.409, allocations: 23.42 kB / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of SimCode: time 8.62e-07/0.409, allocations: 0 / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0266/0.4356, allocations: 1.586 MB / 1.329 GB, free: 10.21 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.217/8.653, allocations: 10.86 kB / 1.329 GB, free: 10.21 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.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.481692287139595]