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.001337/0.001337, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001591/0.001591, allocations: 213.5 kB / 22.24 MB, free: 4.855 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.494/1.494, allocations: 230.6 MB / 256 MB, free: 7.789 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.272/3.272, allocations: 0.4892 GB / 0.7943 GB, free: 35.49 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.002079/0.002079, allocations: 74.73 kB / 1.153 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/0.4038, allocations: 176.1 MB / 1.325 GB, free: 2.406 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002572/0.4064, allocations: 0.7975 MB / 1.326 GB, free: 1.613 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001474/0.4065, allocations: 43.78 kB / 1.326 GB, free: 1.57 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.879e-05/0.4066, allocations: 0 / 1.326 GB, free: 1.57 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.827e-05/0.4066, allocations: 11.86 kB / 1.326 GB, free: 1.559 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.406e-05/0.4067, allocations: 11.88 kB / 1.326 GB, free: 1.547 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.035e-05/0.4068, allocations: 19.98 kB / 1.326 GB, free: 1.527 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.4069, allocations: 67.83 kB / 1.326 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.407, allocations: 27.98 kB / 1.326 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.504e-05/0.4071, allocations: 31.8 kB / 1.326 GB, free: 1.402 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.397e-05/0.4072, allocations: 19.86 kB / 1.326 GB, free: 1.383 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.4072, allocations: 8 kB / 1.326 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.178e-05/0.4072, allocations: 4 kB / 1.326 GB, free: 1.371 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.045e-05/0.4072, allocations: 23.91 kB / 1.326 GB, free: 1.348 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.144e-05/0.4073, allocations: 23.81 kB / 1.326 GB, free: 1.324 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.4074, allocations: 79.81 kB / 1.326 GB, free: 1.246 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.4074, allocations: 7.984 kB / 1.326 GB, free: 1.238 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.525e-06/0.4074, allocations: 0 / 1.326 GB, free: 1.238 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.275e-06/0.4074, allocations: 0 / 1.326 GB, free: 1.238 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.0005164/0.408, allocations: 304.2 kB / 1.327 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.408, allocations: 12.03 kB / 1.327 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.323e-05/0.4081, allocations: 38.73 kB / 1.327 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.318e-05/0.4081, allocations: 8.891 kB / 1.327 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.4083, allocations: 134.4 kB / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.4083, allocations: 12.28 kB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.4084, allocations: 8.312 kB / 1.327 GB, free: 0.668 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.4086, allocations: 95.95 kB / 1.327 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.4086, allocations: 3.938 kB / 1.327 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.4086, allocations: 4 kB / 1.327 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.4086, allocations: 4 kB / 1.327 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.176e-05/0.4087, allocations: 31.92 kB / 1.327 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006637/0.4094, allocations: 391.9 kB / 1.327 GB, free: 92 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.775e-05/0.4094, allocations: 37.19 kB / 1.327 GB, free: 36 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.019e-05/0.4095, allocations: 17.84 kB / 1.327 GB, free: 12 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.298e-06/0.4095, allocations: 8 kB / 1.327 GB, free: 4 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.84e-05/0.4095, allocations: 30.56 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.422e-06/0.4095, allocations: 3.938 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001849/0.4097, allocations: 65.52 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.4098, allocations: 77.11 kB / 1.327 GB, free: 15.8 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.41, allocations: 160.2 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.41, allocations: 29.64 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.317e-05/0.4101, allocations: 108 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.989e-06/0.4101, allocations: 3.953 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.4101, allocations: 17.97 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.4102, allocations: 326.8 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.912e-05/0.4103, allocations: 4 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.872e-05/0.4103, allocations: 21.66 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.033e-05/0.4103, allocations: 25.7 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4103, allocations: 4 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.311e-05/0.4104, allocations: 57.59 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.4105, allocations: 7.938 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.4105, allocations: 64 / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.4105, allocations: 8 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.777e-05/0.4105, allocations: 11.98 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.4106, allocations: 0 / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.533e-05/0.4106, allocations: 7.953 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.4106, allocations: 0 / 1.328 GB, free: 14.97 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.0001001/0.4107, allocations: 118.3 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.61e-05/0.4107, allocations: 11.89 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/0.4108, allocations: 7.812 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.4108, allocations: 96 / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4108, allocations: 0 / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/0.4108, allocations: 15.97 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/0.4112, allocations: 441.8 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.4112, allocations: 0 / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.288e-05/0.4112, allocations: 4 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.4112, allocations: 0 / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/0.4113, allocations: 0 / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.4113, allocations: 3.938 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4113, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.4114, allocations: 85.83 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/0.4114, allocations: 16.05 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.4114, allocations: 0 / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.087e-05/0.4115, allocations: 0 / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.066e-05/0.4115, allocations: 7.984 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.4115, allocations: 3.938 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001247/0.4116, allocations: 117.5 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4116, allocations: 0 / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002031/0.4118, allocations: 15.94 kB / 1.329 GB, free: 14.04 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.000487/0.4123, allocations: 0.6093 MB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.504e-05/0.4124, allocations: 27.95 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4124, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.449e-05/0.4124, allocations: 8 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.4126, allocations: 1.719 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.414, allocations: 1.335 MB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.053e-05/0.4141, allocations: 87.38 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.33e-05/0.4141, allocations: 8.422 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.578e-05/0.4142, allocations: 27.42 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of SimCode: time 6.32e-07/0.4142, allocations: 0 / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03235/0.4465, allocations: 2.097 MB / 1.333 GB, free: 9.836 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.73, allocations: 4.75 kB / 1.333 GB, free: 9.836 MB / 1.029 GB " [Timeout remaining time 288] (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: 18.54189719678834]